From 6aeddede79282816925867ddbb495b6b20565747 Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 18 Oct 2011 12:13:09 +0000 Subject: [PATCH] Description for example git-svn-id: trunk@32958 - --- .gitattributes | 1 + examples/SynEdit/Completion/README.txt | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 examples/SynEdit/Completion/README.txt diff --git a/.gitattributes b/.gitattributes index 5b08208b79..10d13b7b62 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/examples/SynEdit/Completion/README.txt b/examples/SynEdit/Completion/README.txt new file mode 100644 index 0000000000..4f732ca119 --- /dev/null +++ b/examples/SynEdit/Completion/README.txt @@ -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"