← Prev in month ← Prev in thread
Next in thread → Next in month →

Error in one of my "region" examples

From
Larry Golding \(Comcast\) <>
Date
2018-05-23T22:03:26+00:00
ID
[email protected]
Thread
Error in one of my "region" examples
Yesterday I shared some examples of a new proposal for defining region properties. One of them was wrong. Here is the correction:

 

5. If endColumn is missing, it defaults to one more than the number of characters on the last line of the region (excludingthe newline sequence).

 

EXAMPLE: Suppose line 12 contains "abcd\r\n" (the four characters "abcd" followed by the two-character newline sequence "\r\n"). Then the region startLine = 12, startColumn = 2 contains the three characters "bcd". The implied value of endColumn is 5.

 

Larry
← Prev in month ← Prev in thread
Next in thread → Next in month →