pub fn typed_code(before: &str) -> Option<&str>Expand description
The short code that is being typed where before ends, which is what
is on a line before the cursor: what follows the last colon, if that
is made of what short codes are made of, and the colon starts
something. One after a letter, a figure, a colon or a slash does not:
it is in a time (12:30), an address (https://), or closes another
short code.