From 8e6ddfd4ed7a72190796d138557ad3eb5da7b0db Mon Sep 17 00:00:00 2001
From: Neil
Date: Tue, 20 Aug 2013 14:57:56 +1000
Subject: Added PositionRelative to optimize navigation by character.
---
doc/ScintillaDoc.html | 6 ++++++
doc/ScintillaHistory.html | 3 +++
2 files changed, 9 insertions(+)
(limited to 'doc')
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 57550bfe6..cca207dae 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -1161,6 +1161,7 @@ struct Sci_TextToFind {
onlyWordCharacters)
SCI_POSITIONBEFORE(int position)
SCI_POSITIONAFTER(int position)
+ SCI_POSITIONRELATIVE(int position, int relative)
SCI_COUNTCHARACTERS(int startPos, int endPos)
SCI_TEXTWIDTH(int styleNumber, const char *text)
SCI_TEXTHEIGHT(int line)
@@ -1466,6 +1467,11 @@ struct Sci_TextToFind {
If called with a position within a multi byte character will return the position
of the start/end of that character.
+ SCI_POSITIONRELATIVE(int position, int relative)
+ Count a number of whole characters before or after the argument position and return that position.
+ The minimum position returned is 0 and the maximum is the last position in the document.
+
+
SCI_COUNTCHARACTERS(int startPos, int endPos)
Returns the number of whole characters between two positions..
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index e0ccc5966..97ff11f58 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -452,6 +452,9 @@
In Unicode mode C1 control characters are represented by their mnemonics.
+ Added SCI_POSITIONRELATIVE to optimize navigation by character.
+
+
Option to allow mouse selection to switch to rectangular by pressing Alt after start of gesture.
Feature #1007.
--
cgit v1.2.3