diff --git a/.gitattributes b/.gitattributes index 84609f7bde..90f2d28d0b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3577,6 +3577,7 @@ examples/SynEdit/Completion/unit1.lfm svneol=native#text/plain examples/SynEdit/Completion/unit1.pas svneol=native#text/pascal examples/SynEdit/NewHighlighterTutorial/HighlighterTutorial.lpi svneol=native#text/xml examples/SynEdit/NewHighlighterTutorial/HighlighterTutorial.lpr svneol=native#text/pascal +examples/SynEdit/NewHighlighterTutorial/README.txt svneol=native#text/plain examples/SynEdit/NewHighlighterTutorial/contexthl.pas svneol=native#text/pascal examples/SynEdit/NewHighlighterTutorial/foldhl.pas svneol=native#text/pascal examples/SynEdit/NewHighlighterTutorial/simplehl.pas svneol=native#text/pascal diff --git a/examples/SynEdit/NewHighlighterTutorial/README.txt b/examples/SynEdit/NewHighlighterTutorial/README.txt new file mode 100644 index 0000000000..6d30cad9e2 --- /dev/null +++ b/examples/SynEdit/NewHighlighterTutorial/README.txt @@ -0,0 +1,7 @@ +Example for the "Create your own SynEdit Highlighter" tutorial +(SynEdit is the editor used by the IDE) + +The tutorial can be found at http://wiki.lazarus.freepascal.org/SynEdit_Highlighter + +It explains the steps required to write your own highlighter from scratch. + diff --git a/examples/SynEdit/NewHighlighterTutorial/unit1.pas b/examples/SynEdit/NewHighlighterTutorial/unit1.pas index 13dd275bc8..3e40246022 100644 --- a/examples/SynEdit/NewHighlighterTutorial/unit1.pas +++ b/examples/SynEdit/NewHighlighterTutorial/unit1.pas @@ -9,7 +9,7 @@ This is NOT about extending the IDE. This is about SynEdit and it's Highlighter Therefore this does not include: - registration in the component pallette. - Using the Object Inspector -Those steps are the same as they would be for any other self wriiten componont. +Those steps are the same as they would be for any other self writen componont. *) {$mode objfpc}{$H+}