Description for example

git-svn-id: trunk@32958 -
This commit is contained in:
martin 2011-10-18 12:13:09 +00:00
parent bb1375f347
commit 6aeddede79
2 changed files with 13 additions and 0 deletions

1
.gitattributes vendored
View File

@ -3211,6 +3211,7 @@ docs/xml/rtl/classes.xml svneol=native#text/xml
docs/xml/rtl/system.xml svneol=native#text/xml
docs/xml/rtl/sysutils.xml svneol=native#text/xml
docs/xml/updateXML.bat svneol=native#text/plain
examples/SynEdit/Completion/README.txt svneol=native#text/plain
examples/SynEdit/Completion/SynCompletionSample.ico -text
examples/SynEdit/Completion/SynCompletionSample.lpi svneol=native#text/plain
examples/SynEdit/Completion/SynCompletionSample.lpr svneol=native#text/pascal

View File

@ -0,0 +1,12 @@
Example for SynEdit's auto-completion features.
SynEdit (the editor used by the IDE) provides 2 different auto-completion features:
1) TSynCompletion (The word completion feature used by the IDE)
Displays a drop-down providing a list of completions (or replacements) for the current word. The completions, must be provided, and updated by the application.
If the user typed "Sel", then a list of words beginning with "Sel" may be displayed.
2) TSynAutoComplete
Replaces the current word/token, with a fixed pre-defined substitution.
If the user typed "IB", the replacement may be "if foo then begin"