Links
EControl Syntax Editor SDK
ecSyntMemo.TSyntaxMemoOptionEx Enumeration
TSyntaxMemoOptionEx = (
  soSmartPaste,
  soUseCaseFormat,
  soAutoFormat,
  soKeepSearchMarks,
  soExtractAnsiParts,
  soCorrectNonPrinted,
  soVirtualCaretPos,
  soUnlimitedCaretPos,
  soNormalSelToLineEnd,
  soRightClickMoveCaret,
  soDisableAutoClose,
  soAllowZeroTab,
  soNotSuppressAltNNNN,
  eoShowCaretWhenUnfocused,
  soKeepCaretPaste,
  soMultiAutoClose,
  soMiddleAutoScroll,
  soWordWrapAtSpace
);

ecSyntMemo

Members 
Description 
soSmartPaste 
When "smart" paste is ON editor gets both Unicode and ANSI content of the clipboard, converts them using selected character set and selects best text to be pasted. This allows getting correct text copied from both ANSI and Unicode applications independently on selected keyboard language. 
soUseCaseFormat 
Allows exporting text (including copying to clipboard) with case formatting. 
soAutoFormat 
Says syntax memo to perform auto-formatting. Auto-formatting is performed after full text analysis. Currently auto-formatting performs only case formatting (i.e. changing case of text correspondingly to current highlighting). 
soKeepSearchMarks 
Specifies whether search marks should be kept when moving caret.
In this mode next commands are enabled:
smSearchMarkReset - Reset search marks;
smSearchMarkNext - Go to next search mark;
smSearchMarkPrev - Go to previous search mark. 
soExtractAnsiParts 
Specify whether ANSI parts of text should be processed independently on non-ANSI parts. 
soCorrectNonPrinted 
Specifies whether non-printed characters (#28-#31) should be removed from the displayed text. 
soVirtualCaretPos 
Specifies whether caret may be placed anywhere in editor window, even after last line. 
soUnlimitedCaretPos 
Specifies whether caret may be placed anywhere, even if scrolling to it will be impossible, otherwise caret position is limited by ability to scroll view to it. 
soNormalSelToLineEnd 
Specifies whether selection highlighting should be continued to right edge of text area after line end, otherwise selection highlighting displayed only with text. 
soRightClickMoveCaret 
Specifies whether caret position should be changed when right mouse button is pressed. 
soDisableAutoClose 
Disables automatic closing of text ranges. 
soAllowZeroTab 
Allows TAB substitution with zero number of spaces. 
soNotSuppressAltNNNN 
Disable suppressing of Alt+XXX combination. By default such combination is processed only when numlock is ON. When this option is True, it is also processed when numlock is OFF. 
eoShowCaretWhenUnfocused 
Says editor to do not hide caret when editor is unfocused. 
soKeepCaretPaste 
Do not move caret after paste operation. 
soMultiAutoClose 
Enables auto-closing of multiple open text ranges, otherwise a only text range is closed. 
soMiddleAutoScroll 
Enable scrolling after middle mouse button click. 
soWordWrapAtSpace 
Allows breaking line at spaces. By default when word wrap is enabled line breaks are done on the first non-space character which is out of specified limit. When this option is enabled word wrapping occurs also on space characters. 

Syntax memo additional options.

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