You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to highlighting chars using a search string, allow the user to specify char ranges to be highlighted using a line/column syntax. This would provide a way to work around #70.
The meta string {a:b-c:d} would highlight characters from line a column b to line c column d.
For example, the following would highlight the string "Hello, world!":
This could be integrated together with line highlighting syntax, for example
{1,2-3,4:2-4:10}
Some other considerations include handling the case for highlighting a single char {4:10}, as well as ranges that mix line and char indexes {4-5:8} or {3:20-8}.
I used the colon for the delimiting character as an example 1:2-3:4, other possible options include a slash 1/2-3/4, dot 1.2-3.4, or pipe 1|2-3|4.
The text was updated successfully, but these errors were encountered:
In addition to highlighting chars using a search string, allow the user to specify char ranges to be highlighted using a line/column syntax. This would provide a way to work around #70.
The meta string
{a:b-c:d}
would highlight characters from linea
columnb
to linec
columnd
.For example, the following would highlight the string
"Hello, world!"
:This could be integrated together with line highlighting syntax, for example
Some other considerations include handling the case for highlighting a single char
{4:10}
, as well as ranges that mix line and char indexes{4-5:8}
or{3:20-8}
.I used the colon for the delimiting character as an example
1:2-3:4
, other possible options include a slash1/2-3/4
, dot1.2-3.4
, or pipe1|2-3|4
.The text was updated successfully, but these errors were encountered: