-
Hello, |
Beta Was this translation helpful? Give feedback.
Answered by
magiblot
Feb 5, 2024
Replies: 1 comment
-
You may use the uint currentLineLengthInBytes = lineEnd(curPtr) - lineStart(curPtr);
uint currentLineWidth = charPos(lineStart(curPtr), lineEnd(curPtr));
uint lengthInBytesFromCurrentPositionUntilEol = lineEnd(curPtr) - curPtr;
uint widthFromCurrentPositionUntilEol = charPos(curPtr, lineEnd(curPtr)); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
paule32
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You may use the
lineStart
,lineEnd
andcharPos
methods. For example: