LanguageSensitivity

HomePage | RecentChanges | EditorIndex | TextEditorFamilies | Preferences

This is the Capability that makes the TextEditor capable of understanding the syntax of a specific programming language. One could consider this to be a kind of syntax awareness.

This is not the same as SyntaxColoring, which just makes existing syntax more apparent. It's even more than Intellisense(tm) which Microsoft developed and which means knowing alot about method/function call parameters. LanguageSensitivity is about structural knowledge of the programming language that lets the text editor make language sensitive editing operations possible. The example I like to use is VAX/LSE (language sensitive editor).

What we are talking about here is the ability for the editor to help the programmer along. For example, if you are not sure about the syntax of the "while" statement in Java, you might type:

while

then press a magic function key like control-k or something. The editor would respond with:

while (<boolean-expr>) {

}

If the programmer has further questions, it is necessary to put the cursor somewhere inside the "<boolean-expr>" and press the magic key. This could respond:

while ( <boolean-expr> || <boolean-expr>){

}

(ok that was probably too complex an example, given how many options booleans have....) RonPerrella


HomePage | RecentChanges | EditorIndex | TextEditorFamilies | Preferences
Edit text of this page | View other revisions
Last edited December 20, 2008 11:48 am (diff)
Search: