From 8a9e9058908951c059710e514a01f1c17f80eea8 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 11 Jun 2015 21:58:21 +1000 Subject: Added MultipleSelectAddNext, MultipleSelectAddEach, IsRangeWord, and TargetWholeDocument. --- doc/ScintillaDoc.html | 19 ++++++++++++++++++- doc/ScintillaHistory.html | 12 ++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 6e4210bc9..3e40adab2 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -641,6 +641,7 @@ struct Sci_TextRange { SCI_GETTARGETEND
SCI_SETTARGETRANGE(int start, int end)
SCI_TARGETFROMSELECTION
+ SCI_TARGETWHOLEDOCUMENT
SCI_SETSEARCHFLAGS(int searchFlags)
SCI_GETSEARCHFLAGS
SCI_SEARCHINTARGET(int length, const char @@ -667,6 +668,9 @@ struct Sci_TextRange {

SCI_TARGETFROMSELECTION
Set the target start and end to the start and end positions of the selection.

+

SCI_TARGETWHOLEDOCUMENT
+ Set the target start to the start of the document and target end to the end of the document.

+

SCI_SETSEARCHFLAGS(int searchFlags)
SCI_GETSEARCHFLAGS
These get and set the
searchFlags used by @@ -1175,6 +1179,7 @@ struct Sci_TextToFind { onlyWordCharacters)
SCI_WORDSTARTPOSITION(int position, bool onlyWordCharacters)
+ SCI_ISRANGEWORD(int start, int end)
SCI_POSITIONBEFORE(int position)
SCI_POSITIONAFTER(int position)
SCI_POSITIONRELATIVE(int position, int relative)
@@ -1399,6 +1404,12 @@ struct Sci_TextToFind { sets the start or the search, which is forwards when searching for the end and backwards when searching for the start.

+

SCI_ISRANGEWORD(int start, int end)
+ Is the range start..end a word or set of words? This message checks that start is at a word start transition and that + end is at a word end transition. It does not check whether there are any spaces inside the range.

+ + SCI_ISRANGEWORD(int start, int end)
+

Set onlyWordCharacters to true (1) to stop searching at the first non-word character in the search direction. If onlyWordCharacters is false (0), the first character in the search direction sets the type of the search @@ -1624,6 +1635,7 @@ struct Sci_TextToFind { SCI_SWAPMAINANCHORCARET
SCI_ROTATESELECTION
+ SCI_MULTIPLESELECTADDNEXT

@@ -1789,9 +1801,14 @@ struct Sci_TextToFind {

SCI_SWAPMAINANCHORCARET
SCI_ROTATESELECTION
+ SCI_MULTIPLESELECTADDNEXT
These commands may be assigned to keys to make it possible to manipulate multiple selections. SCI_SWAPMAINANCHORCARET moves the caret to the opposite end of the main selection. - SCI_ROTATESELECTION makes the next selection be the main selection. + SCI_ROTATESELECTION makes the next selection be the main selection.
+ SCI_MULTIPLESELECTADDNEXT adds the next occurrence of the main selection to + the set of selections as main. If the current selection is empty then select word around caret. + The current searchFlags + are used so the application may choose case sensitivity and word search options.

Scrolling and automatic scrolling

diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 67a5927da..9ffcaaacc 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -491,6 +491,18 @@ Released 26 May 2015.
  • + Added SCI_MULTIPLESELECTADDNEXT to add the next occurrence of the main selection within the + target to the set of selections as main. If the current selection is empty then select word around caret. + SCI_MULTIPLESELECTADDNEXT adds each occurrence of the main selection within the + target to the set of selections. +
  • +
  • + Added SCI_ISRANGEWORD to determine if the parameters are at the start and end of a word. +
  • +
  • + Added SCI_TARGETWHOLEDOCUMENT to set the target to the whole document. +
  • +
  • Verilog lexer recognises protected regions and the folder folds protected regions.
  • -- cgit v1.2.3