Examples: Updated Description for SynEdit related examples.

This commit is contained in:
Martin 2022-05-04 14:43:59 +02:00
parent fdd10aae7d
commit bf34151409
10 changed files with 48 additions and 44 deletions

View File

@ -1,11 +0,0 @@
{
"Completion" : {
"Category" : "General",
"Keywords" : [
"SynEdit",
"Auto Completion",
"TSynAutoComplete"
],
"Description" : "Example for SynEdit's auto-completion features. As used in the Lazarus IDE, provides 2 different auto-completion features."
}
}

View File

@ -0,0 +1,13 @@
{
"SynEdit - Completion" : {
"Category" : "General",
"Keywords" : [
"TSynEdit",
"TSynCompletion",
"TSynAutoComplete",
"Text Completion",
"Word List"
],
"Description" : "SynEdit has 2 \"auto-completion\" features.\r\n\r\n1) TSynCompletion (The word completion feature used by the IDE)\r\nDisplays a drop-down providing a list of completions (or replacements) for the current word. The completions, must be provided, and updated by the application.\r\nIf the user typed \"Sel\", then a list of words beginning with \"Sel\" may be displayed.\r\n\r\n2) TSynAutoComplete\r\nReplaces the current word/token, with a fixed pre-defined substitution.\r\nIf the user typed \"IB\", the replacement may be \"if foo then begin\"\r\n\r\n\r\n"
}
}

View File

@ -1,5 +1,5 @@
{
"NewHighlighterTutorial" : {
"SynEdit - New Highlighter Tutorial" : {
"Category" : "General",
"Keywords" : [
"TSynEdit",

View File

@ -1,10 +0,0 @@
{
"SearchAndReplace" : {
"Category" : "General",
"Keywords" : [
"TSynEdit",
"SearchAndReplace"
],
"Description" : "Demonstrates TSynEdit's Searc and Replace capability, and the range of options it can use."
}
}

View File

@ -0,0 +1,12 @@
{
"SynEdit - Search And Replace" : {
"Category" : "General",
"Keywords" : [
"TSynEdit",
"Search",
"Replace",
"SearchAndReplace"
],
"Description" : "Demonstrates TSynEdit's Search and Replace capability, and the range of options it can use."
}
}

View File

@ -1,10 +0,0 @@
{
"SynAnyHighlighter" : {
"Category" : "General",
"Keywords" : [
"TSynEdit",
"runtime"
],
"Description" : "This example shows, how the the Keywords, Objects and Constants properties of the class TSynAnySyn can be controlled at runtime. Text can be highlighted following a number of rules.\n\n"
}
}

View File

@ -0,0 +1,10 @@
{
"SynEdit - SynAny Highlighter" : {
"Category" : "General",
"Keywords" : [
"TSynEdit",
"runtime"
],
"Description" : "TSynAnySyn allows one to highlight specific words in the text.\r\nIt can be used to highlight every occurrence of 'Lazarus' in a specific color.\r\nThis example shows, how the the Keywords, Objects and Constants properties of the class TSynAnySyn can be controlled at runtime. Text can be highlighted following a number of rules.\r\n\r\n"
}
}

View File

@ -1,11 +1,11 @@
{
"SynGutterMarks" : {
"SynEdit - GutterMarks" : {
"Category" : "General",
"Keywords" : [
"TSynEdit",
"Gutter",
"Bookmarks"
],
"Description" : "Example for SynEdit's Bookmarks, SynEdit is the editor used by the Lazarus IDE. This example shows how to display Bookmarks and other marks/icons in the gutter of the editor."
"Description" : "Example for SynEdit's Bookmarks, SynEdit is the editor used by the Lazarus IDE.\r\n\r\nThis example shows how to display Bookmarks and other marks/icons in the gutter of the editor."
}
}

View File

@ -0,0 +1,10 @@
{
"SynEdit - SynPosition Highlighter" : {
"Category" : "General",
"Keywords" : [
"TSynEdit",
"TSynPositionHighlighter"
],
"Description" : "Example for SynEdit's Highlighter: TSynPositionHighlighter. SynEdit is the editor used by the IDE.\r\n\r\nTSynPositionHighlighter allows one to highlight text at one or more fixed position(s). For example, it can be used to highlight the first 3 letters of the 2nd line of text, in a specific color."
}
}

View File

@ -1,10 +0,0 @@
{
"SynPositionHighlighter" : {
"Category" : "General",
"Keywords" : [
"TSynEdit",
"TSynPositionHighlighter"
],
"Description" : "Example for SynEdit's Highlighter: TSynPositionHighlighter. SynEdit is the editor used by the IDE.\n\nTSynPositionHighlighter allows one to highlight text at one or more fixed position(s). For example, it can be used to highlight the first 3 letters of the 2nd line of text, in a specific color."
}
}