Links
EControl Syntax Editor SDK
ecSyntMemo.TSyntaxMemoOption Enumeration
TSyntaxMemoOption = (
  soOverwriteBlocks,
  soPersistentBlocks,
  soEnableBlockSel,
  soDoubleClickLine,
  soKeepCaretInText,
  soCopyAsRTF,
  soHideSelection,
  soHideDynamic,
  soAutoIndentMode,
  soBackUnindent,
  soGroupUndo,
  soGroupRedo,
  soFixedLineHeight,
  soDragText,
  soCallapseEmptyLines,
  soAutoSelect,
  soKeepTrailingBlanks,
  soFloatMarkers,
  soUndoAfterSave,
  soDisableSelection,
  soAlwaysShowCaret,
  soDrawCurLineFocus,
  soHideCursorOnType,
  soScrollLastLine,
  soGreedySelect,
  soKeepSelMode,
  soSmartCaret,
  soBreakOnRightMargin,
  soOptimalFill,
  soFixedColumnMove,
  soVariableHorzScrollBar,
  soUnindentKeepAlign
);

ecSyntMemo

Members 
Description 
soOverwriteBlocks 
Replaces a marked block of text with whatever is typed next. If Persistent Blocks is also selected, text you enter is appended following the currently selected block. 
soPersistentBlocks 
Keeps marked blocks selected even when the cursor is moved using the arrow keys, until a new block is selected. 
soEnableBlockSel 
Enabled column selection mode. 
soDoubleClickLine 
Highlights the line when you double-click any character in the line. If disabled, only the selected word is highlighted. 
soKeepCaretInText 
Allows move caret only into text like in Memo. 
soCopyAsRTF 
Copies selected text also in RTF format. 
soHideSelection 
Hides selection when editor loses focus. 
soHideDynamic 
Hides dynamic highlighting when editor loses focus. 
soAutoIndentMode 
Positions the cursor under the first nonblank character of the preceding nonblank line when you press Enter 
soBackUnindent 
Aligns the insertion point to the previous indentation level (outdents it) when you press Backspace, if the cursor is on the first nonblank character of a line. 
soGroupUndo 
Undoes your last editing command as well as any subsequent editing commands of the same type, if you press Alt+Backspace. 
soGroupRedo 
If it is set Redo will involve group of changes. 
soFixedLineHeight 
This option is obsolete. 
soDragText 
Enables drag&drop operation for text movement. 
soCallapseEmptyLines 
Collapse empty lines after text range when this rang have been collapsed. 
soAutoSelect 
Determines whether all the text in the syntax memo is automatically selected when the control gets focus. 
soKeepTrailingBlanks 
Keeps any blanks you might have at the end of a line. 
soFloatMarkers 
If it is set markers are linked to text, so they will move with text during editing. Otherwise they are linked to caret position, and stay unchanged during editing. Also markers save scroll position. 
soUndoAfterSave 
Stay undo buffer unchanged after save with TCustomSyntaxMemo.SaveToFile method. 
soDisableSelection 
Disables any selection. 
soAlwaysShowCaret 
Shows caret in read only mode. 
soDrawCurLineFocus 
Draws focus rectangle around current line when editor have focus. 
soHideCursorOnType 
Hides mouse cursor when user type text and mouse cursor within client area. 
soScrollLastLine 
When it is true you may scroll to last line of text, otherwise you can scroll to last page. When this option is off and total text height less then client height vertical scroll bar will be hidden. 
soGreedySelect 
If this option is set selection will contain extra column/line during column/line selection modes. 
soKeepSelMode 
Selection enabled for caret movement commands (like in BRIEF). 
soSmartCaret 
Acts on the caret movement (up, down, line start, line end). Caret is moved to the nearest position on the screen. 
soBreakOnRightMargin 
Determines whether text wraps (word-wrap mode) on the right margin instead of right side of client area. 
soOptimalFill 
Begins every auto indented line with the minimum number of characters possible, using tabs and spaces as necessary. 
soFixedColumnMove 
Keeps X position of caret before editing text, this position is used when moving up/down caret. 
soVariableHorzScrollBar 
Sets range of horizontal scroll bar to the maximal width of only visible lines. Hides horizontal scroll bar if visible lines fit client width. 
soUnindentKeepAlign 
Restricts unindent operation when at least one of lines can not be unindented. 

Syntax memo options.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!