summaryrefslogtreecommitdiff
path: root/tools/Characters
blob: 76e218750c3a299d95bcc0acf9acea2f2a5eb0ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Characters
#
# Usage:
#    Characters n1 to n2
#
# Select the characters in the given interval, counting from the first
# character of the current line, in the active window.
#
# Typical use is an error message of the form:
#    File fff; Line xxx; Characters yyy to zzz
#

exit 1 if {#} ­ 3

Find Ƥ!{1}:¤!`evaluate {3} - {1}` "{active}"