Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upConvert TextRunScanner to use offset+len, instead of start/end offsets #123
Comments
|
We should also abstract away the representation of offset, length. The bit packing decisions may be context-dependent, or change over time. |
|
Only |
ChrisParis
pushed a commit
to ChrisParis/servo
that referenced
this issue
Sep 7, 2014
remove examples as per discussion
glennw
added a commit
to glennw/servo
that referenced
this issue
Jan 16, 2017
Support groove and ridge border styles.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Almost all of the layout code involving ranges is expressed using and offset plus a length. This has potential benefits for bit packing (usually offset >>>> len), and is somewhat easier to understand.
TextRunScanner is an unintended deviation.