Replace the Editor part of current PureBasic IDE

Working on new editor enhancements?
Yogi Yang
Enthusiast
Enthusiast
Posts: 107
Joined: Sun Dec 11, 2005 2:19 pm

Replace the Editor part of current PureBasic IDE

Post by Yogi Yang »

Is it possible to replace only the Code Editor part of the PB IDE?

I have come across a windows only editor solution which is really usable. (I think...).

It has all the features that one would expece except Code folding, but then it comes with full sourcecode which is in C++ as well as a compiled DLL if one wants to use it directly. The IntelliSense part of this is really very very good and usable. Also the cursor navigation (behaviour) is also really what a normal windows user is generally used to.....

Here are a few features

• Color Syntax Highlighting. Language-specific keywords, comments, and strings are colored differently to set them apart from plain text. Bold, italics, and underline are supported, as well.
• Fully Customizable Keyboard Mappings. Keystrokes can be added and removed to emulate popular keyboard mappings, like Brief and Epsilon.
• Keystroke Macros. Users can record a series of keystrokes and assign a keystroke to play back the keystrokes repeatedly. Up to 10 macros may be recorded.
• Drag and Drop Text Manipulation. Highlighted text can be dragged and dropped between any window supporting OLE text Drag and Drop. Text may be copied or moved.
• Multiple Split Views. Users can create up to four separate views of the same edit buffer. Each view can be scrolled independently.
• Unlimited Undo/Redo. All edit actions are fully undoable and redoable. A limit can be set on the number of edit actions that may be undone.
• Custom Margin Images. Define a list of custom images and display one or more of them to the left of any line.
• Per-Line Item Data. Cache application-specific data in any line in the buffer.
• Regular Expression Searching. Perform regular expression searching and replacing using standard Gnu regular expressions.
• Auto Indentation. Once a language is chosen, as the user enters code, It will automatically indent lines to following the scoping rules of the language.
• Built-In File Support. Saving, Loading, and Inserting of files is easily achieved.
• Clipboard Support. Text can be cut, copied and pasted onto the clipboard using the right-click menu or a keystroke.
• Built-In Support for C/C++, Java, SQL, Pascal, and Basic. It is already aware of five of the most popular language without any additional programming required.
• Support for Custom Languages. You can register a language by sending a single message. Once registered, all language-related features are fully function with the new language.
• Column Selection and Manipulation. Columns of text can be selected with the mouse and then manipulated. Empty columns (columns with a width of zero characters) can be selected, causing subsequent typing and deletion to occur over multiple lines at the same time.
• Custom Color Settings. All foreground and background colors used in a it can be configured with a single message. Users can also configure colors with the built-in window properties dialog.
• Built-In Window Properties Dialog. Most properties, including keyboard assignments, colors, current language, and tab settings are available to the user in a tabbed dialog available from the built-in right-click menu or a keystroke (Alt+Enter). This dialog can be easily disabled and/or overriden by the parent window.
• Built-In Right Click Menu. A set of commonly used commands are available from a default right-click menu. The right-click menu can be easily disabled and/or overriden by the parent window.
• Microsoft IntelliMouse Support. Scrolling, word selection, and line selection is easily accomplished with the Microsoft IntelliMouse.
• Over 130 Separate Edit Commands. More than 120 separate edit commands can be assigned to a keystroke and invoked by the user.
• Line Numbering. Lines can be numbered using any radix and the first line may start with any positive number.
• Keyword Case Normalization. Keywords can be converted to the proper case once a line is entered.
• Built-in Printing Support. The contents of the edit buffer may be printed in color or black and white.
• Line Highlighting. A single line may be highlighted a specific color. This is useful for showing the currently executing line in applications that use It as a debugger.
• Horizontal Line Dividers. Each line may have a line underneath it to separate functions or other groupings of text.
• Custom Line Drawing (DLL version only). The parent window can optionally request that specific lines are ‘owner-draw’ and then be notified when the line(s) need to be drawn.
• Selection Bounding. The text caret can optionally be confined to the bounds of the text. If enabled, when the user clicks on ‘virtual’ space to the right of text, the caret will be placed at the end of the line clicked on.

Can some courageous developer come forward and try to integrate it into PB IDE?

TIA.

Yogi Yang
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

The IDE is a crossplatform tool. What good is a Windows only component there ?
Besides, Scintilla offers all the features we need, so there is no point in changing it.

(btw, you forgot to mention the url where your component can be found ;))
quidquid Latine dictum sit altum videtur
Yogi Yang
Enthusiast
Enthusiast
Posts: 107
Joined: Sun Dec 11, 2005 2:19 pm

Post by Yogi Yang »

freak wrote:The IDE is a crossplatform tool. What good is a Windows only component there ?
Besides, Scintilla offers all the features we need, so there is no point in changing it.

(btw, you forgot to mention the url where your component can be found ;))
I know that it is a cross platform tool. But yet Scintilla based editing is not really very good. The editing part comes with full source code so naturally it can be modified to work on multiple platforms with a bit of work.

Basically being from the VB background when ever I boot up PB IDE I feel like I am using something which is not properly implemented. The intelli sense part is really implemented very badly and is truly not usable at all.

Another thing the GUI Editor (Visual Designer) is also not implemented really well inspite of the fact that there are many state of art Visual Designer interfaces floating about on net which are cross platform also....

I have not mentioned the URL intentionally as currently it is not hosted on any site. If you are interested I can upload it somewhere on net for you to download.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

For me, scintilla is quite good. Actually it is used in many editors and i can't see any problem with it.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

It's extremely slow.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

I think that Scintilla is now the standard editor in Adobe utilities, I use it quite a lot and don't find it slow at all.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

> I have not mentioned the URL intentionally as currently it is not hosted on any site. If you are interested I can upload it somewhere on net for you to download.

Seriously, if it doesn't even exist anywhere for download, how good could it be !? :P
quidquid Latine dictum sit altum videtur
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> being from the VB background when ever I boot up PB IDE I feel like I am
> using something which is not properly implemented

And do you think Fred and the small team have millions of dollars and hundreds
of people working fulltime on PureBasic, like Microsoft do with VB? Let's keep it
in perspective, please.

And as Freak said: if a product is so good, where is its official site? :lol:

> the GUI Editor (Visual Designer) is also not implemented really well

It's always been stated that the free VD is not an official part of PureBasic.
It's been added to the distro of PB as a courtesy of Berikco, and nothing
more. You can always use PureVisionXP if you want a commercial GUI.
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post by Berikco »

Just an interesting post thats related to this... http://www.purebasic.fr/english/viewtopic.php?t=21260
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Post by LuCiFeR[SD] »

Me grins :P
Flaming Amoeba

Post by Flaming Amoeba »

If you are interested I can upload it somewhere on net for you to download.
No other way to say it but, put up or shut up. In all seriousness though, post it, some of us may be able to use it for our individual projects.

The PureBasic IDE works well and is intended for coding. Unlike the IDE for VB, the PB IDE isn't a bloated POS.

If syntax highlighting is too slow for you, turn it off.
the GUI Editor (Visual Designer) is also not implemented really well
Go look at the GUI editor in Blitz Plus, Blitz Max, PowerBasic, and even Aurora and Emergence BASIC and come back and tell me the GUI editor for PureBasic is not implemented really well.

Many people seem to like PureForm which is quite nice and free, and updated a bit more than the "official unofficial" GUI designer. Check it out you might like it better.
Yogi Yang
Enthusiast
Enthusiast
Posts: 107
Joined: Sun Dec 11, 2005 2:19 pm

Post by Yogi Yang »

Fred wrote:For me, scintilla is quite good. Actually it is used in many editors and i can't see any problem with it.
You are right this is so because Scintilla is the only cross platform (plugable) Editing engine available. There is no other choice! One has to live with it.... this is especially in the Linux arena....
But for platforms where there are multiple offering from which we can choose Scintilla is not the best!
Yogi Yang
Enthusiast
Enthusiast
Posts: 107
Joined: Sun Dec 11, 2005 2:19 pm

Post by Yogi Yang »

freak wrote:Seriously, if it doesn't even exist anywhere for download, how good could it be !? :P
It can be very good. In fact par excellent...!
The product is CodeMAX (CodeSense is it's extended version). This product was once an open source one later the product developer started releasing newer version (ver. 3 onwards) in close source.

But what is available in this version is still not provided by Scintilla after all these years. Isn't that really pathetic? (mind you I am not trying to spark any editor war here I am just voicing my ideas and openions)
Yogi Yang
Enthusiast
Enthusiast
Posts: 107
Joined: Sun Dec 11, 2005 2:19 pm

Post by Yogi Yang »

PB wrote:And do you think Fred and the small team have millions of dollars and hundreds of people working fulltime on PureBasic, like Microsoft do with VB? Let's keep it in perspective, please.
I am trying to keep things in perspective.... I know Fred does not have millions of $ to pump in PureBasic but to achieve utopia one has to keep on striving for betterment.
PB wrote:And as Freak said: if a product is so good, where is its official site? :lol:
The official site is : http://www.winmain.com/

Check this google search for more details
http://www.google.co.in/search?hl=en&cl ... arch&meta=

or

Google this phrase : codemax codesense
Flaming Amoeba wrote:No other way to say it but, put up or shut up. In all seriousness though, post it, some of us may be able to use it for our individual projects.

The PureBasic IDE works well and is intended for coding. Unlike the IDE for VB, the PB IDE isn't a bloated POS.
use Google for finding a downloadable version of CodeMAX- CodeSense in full source code. If you can't find it please let me know and I will upload or email to your personal email address as attachment, of course if you give me your personal email id.

By the way VB IDE is not bloated by any means it is really sleek and fast also. There is nothing wrong in borrowing good thing from successful products.
Flaming Amoeba wrote:Go look at the GUI editor in Blitz Plus, Blitz Max, PowerBasic, and even Aurora and Emergence BASIC and come back and tell me the GUI editor for PureBasic is not implemented really well.

Many people seem to like PureForm which is quite nice and free, and updated a bit more than the "official unofficial" GUI designer. Check it out you might like it better.
I don't use any of the above mentioned languages.... Have you seen ActiveBasic's IDE, Phonix Basic, Envelop Basic ? Check it out and try to compare PB's GUI Editor with it... why compare with something which is sub standard.

Check this link also:
http://www.codeproject.com/useritems/FormDesigner.asp

I have been constantly checking PureForms as I also like it quite a bit...!
JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Post by JCV »

Yogi Yang wrote:The official site is : http://www.winmain.com/
WinMain Software has folded. This domain is for sale. Contact domainforsale<at>winmain<dot>com if interested.
:roll:

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
Post Reply