Replace the Editor part of current PureBasic IDE
Replace the Editor part of current PureBasic IDE
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
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
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.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)
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.
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
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
https://reportcomplete.com <- School end of term reports system
> 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?
> 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.
> 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?

> 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.
Just an interesting post thats related to this... http://www.purebasic.fr/english/viewtopic.php?t=21260
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.If you are interested I can upload it somewhere on net for you to download.
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.
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.the GUI Editor (Visual Designer) is also 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.
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....Fred wrote:For me, scintilla is quite good. Actually it is used in many editors and i can't see any problem with it.
But for platforms where there are multiple offering from which we can choose Scintilla is not the best!
It can be very good. In fact par excellent...!freak wrote:Seriously, if it doesn't even exist anywhere for download, how good could it be !?
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)
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 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.
The official site is : http://www.winmain.com/PB wrote:And as Freak said: if a product is so good, where is its official site?
Check this google search for more details
http://www.google.co.in/search?hl=en&cl ... arch&meta=
or
Google this phrase : codemax codesense
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.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.
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.
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.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.
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...!
Yogi Yang wrote:The official site is : http://www.winmain.com/
:roll:WinMain Software has folded. This domain is for sale. Contact domainforsale<at>winmain<dot>com if interested.
[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]