Replace the Editor part of current PureBasic IDE
Posted: Mon Nov 19, 2007 1:21 pm
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