From 9f23d42912749ef641b017ed032e30c8c9fb4493 Mon Sep 17 00:00:00 2001
From: nyamatongwe
Annotations count as display lines for the methods + and +
Annotations used for inline diagnostics:

SCI_VISIBLEFROMDOCLINE(int docLine)
- When some lines are folded, then a particular line in the document may be displayed at a
- different position to its document position. If no lines are folded, this message returns
+ When some lines are hidden and/or annotations are displayed, then a particular line in the
+ document may be displayed at a
+ different position to its document position. If no lines are hidden and there are no annotations,
+ this message returns
docLine. Otherwise, this returns the display line (counting the very first visible
line as 0). The display line of an invisible line is the same as the previous visible line. The
- display line number of the first line in the document is 0. If there is folding and
+ display line number of the first line in the document is 0. If lines are hidden and
docLine is outside the range of lines in the document, the return value is -1.
Lines can occupy more than one display line if they wrap.
SCI_DOCLINEFROMVISIBLE(int displayLine)
- When some lines are hidden, then a particular line in the document may be displayed at a
+ When some lines are hidden and/or annotations are displayed, then a particular line in the
+ document may be displayed at a
different position to its document position. This message returns the document line number that
corresponds to a display line (counting the display line of the first line in the document as
0). If displayLine is less than or equal to 0, the result is 0. If
--
cgit v1.2.3