Difference between revisions of "IDE Window: Editor User Defined Words"

From Lazarus wiki
Jump to navigationJump to search
Line 26: Line 26:
 
= Terminology =
 
= Terminology =
  
;Term: A word, part of a word, sentence (several words) or any sequence of chars. Must be a single line.
+
;Term: A word, part of a word, sentence (several words) or any sequence of chars. <u>Must be a single line</u>.
  
 
;Bounds: The begin or end of a word. A bound can either be a space before/after the matched term, the begin or end of the line, or a "none word" char (e.g. punctuation, quotes or "=")
 
;Bounds: The begin or end of a word. A bound can either be a space before/after the matched term, the begin or end of the line, or a "none word" char (e.g. punctuation, quotes or "=")

Revision as of 02:44, 31 January 2013

Template:IDE Window: Editor Options User Defined Words
This is part of the online help for the IDE.
It describes the section: "Editor" / "User Defined Words". You can open the described dialog in your IDE via:

  • The menu: "Tools" => "Options" / Editor options ...
  • The source-editor pop-up menu: "Editor properties ...

Navigation

     

General

Allows to specify several lists of "terms" that will be highlighted in all editors.

Terms can be added or removed form the lists using key-shortcuts from the editor. Those terms can either apply to all editors or just the current. A lists may be empty at start, and only be used with terms added via shortcut.

The list work highlighter independent. They apply to any text in any editor.

Terminology

Term
A word, part of a word, sentence (several words) or any sequence of chars. Must be a single line.
Bounds
The begin or end of a word. A bound can either be a space before/after the matched term, the begin or end of the line, or a "none word" char (e.g. punctuation, quotes or "=")

Note: The matching of bounds, currently does not care for spaces (or other none-word chars in the search term. " Abc." will require another none-word char on each end in order to match bounds.

Select, Add, Delete List

Main Settings

Name

Key Settings

Colors