Source text
Library for storing efficient line offset and column from std::string::String
. It processes lines only once at the first invokation of any of the retrieval methods.
Example
Here is a basic example:
// offset 5 = "bar"
let text = new;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;