ocaml/tools/Characters

16 lines
341 B
Plaintext
Raw Normal View History

# 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 {#} <20> 3
Find Ƥ!{1}:<3A>!`evaluate {3} - {1}` "{active}"