
custom-editfield
Note: This project has been moved to github at: https://github.com/tempelmann/custom-editfield
The CustomEditField is a set of classes that are primarily designed to display source code and similar structured text, such as XML. It is ideal to show and edit Xojo / REALbasic (RbScript) code, for instance.
It comes with examples for performing a "diff" on two adjacent texts, and for using its syntax highlighting engine with other types of edit fields.
Caution: When using this code in a Mac Cocoa app, text input with dead keys (e.g. by first pressing the ^ key, then a vovel key) will not work. To fix this, this code would need to use Xojo's TextInputCanvas plugin, which it currently doesn't.
Note: If you need a more complete word processing solution that provides several different editor types then check out the "Formatted Text Control" from BKeeney Software Inc. Another solution might be Alfred Van Hoek's Lexing and WordGuide plugins.
To download the source, you need to use a svn client, as Google has stopped proving zip files via the Downloads section!
Features: * Syntax Highlighting * Line auto-indenting (some problems, see Issues tracker) * Autocomplete * Line numbering * Invisible characters * Undo * Line Foldings (currently not fully working, see Issues tracker) * Find/Replace * Printing * Bookmarks * Placeholders
Project Information
- License: MIT License
- Content License: Creative Commons 3.0 BY
- 10 stars
- svn-based source control
Labels:
realbasic
editfield
syntaxhighlight
realstudio
xojo