From 9ec5dc184d3095ea6c091ecd326e459c7caf2ca7 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 9 Sep 2020 23:41:24 -0400 Subject: Backport: Feature [feature-requests:1350]. Add SCI_GETMULTIEDGECOLUMN. Backport of changeset 8507:e72e8cf58ea7. --- doc/ScintillaDoc.html | 7 ++++++- doc/ScintillaHistory.html | 6 ++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 1a07a4032..feab651ee 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -6801,6 +6801,8 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){
SCI_MULTIEDGEADDLINE(position column, colour edgeColour)
SCI_MULTIEDGECLEARALL
+ SCI_GETMULTIEDGECOLUMN(int which) +

SCI_SETEDGEMODE(int edgeMode)
@@ -6878,10 +6880,13 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){

SCI_MULTIEDGEADDLINE(position column, colour edgeColour)
SCI_MULTIEDGECLEARALL
+ SCI_GETMULTIEDGECOLUMN(int which)
SCI_MULTIEDGEADDLINE adds a new vertical edge to the view. The edge will be displayed at the given column number. The resulting edge position depends on the metric of a space character in STYLE_DEFAULT. All the edges can be cleared with - SCI_MULTIEDGECLEARALL.

+ SCI_MULTIEDGECLEARALL. SCI_GETMULTIEDGECOLUMN returns the column of the + Nth vertical edge (indexed from 0). If which is greater or equal + to the number of vertical edges, this returns -1.

Accessibility

diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 8ab756144..c0eb117a7 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -550,6 +550,8 @@ Hugues Larrive Prakash Sahni uhf7 + + Derek Brown

@@ -597,6 +599,10 @@ Fixed bug where layout caching was ineffective. Bug #2197. +

  • + Added method for iterating through multiple vertical edges: SCI_GETMULTIEDGECOLUMN. + Feature #1350. +
  • Release 3.21.0 -- cgit v1.2.3