diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-27 13:59:45 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-27 13:59:45 +0300 |
commit | 1496a2a027770f0b50bbb7bbcb0c7f11f022b906 (patch) | |
tree | dfd3b988add4cf287d14c81a14e0c0a76e9b228e /src/ui/text.h | |
parent | c15e1e3126862306244a42d8b058231acb407309 (diff) |
DocumentWidget: Marking a selection with the mouse
Diffstat (limited to 'src/ui/text.h')
-rw-r--r-- | src/ui/text.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/text.h b/src/ui/text.h index 0e432043..95d49fda 100644 --- a/src/ui/text.h +++ b/src/ui/text.h | |||
@@ -53,7 +53,9 @@ iInt2 measureRange_Text (int fontId, iRangecc text); | |||
53 | iInt2 advance_Text (int fontId, const char *text); | 53 | iInt2 advance_Text (int fontId, const char *text); |
54 | iInt2 advanceN_Text (int fontId, const char *text, size_t n); /* `n` in characters */ | 54 | iInt2 advanceN_Text (int fontId, const char *text, size_t n); /* `n` in characters */ |
55 | iInt2 advanceRange_Text (int fontId, iRangecc text); | 55 | iInt2 advanceRange_Text (int fontId, iRangecc text); |
56 | iInt2 tryAdvanceRange_Text(int fontId, iRangecc text, int width, const char **endPos); | 56 | |
57 | iInt2 tryAdvance_Text (int fontId, iRangecc text, int width, const char **endPos); | ||
58 | iInt2 tryAdvanceNoWrap_Text (int fontId, iRangecc text, int width, const char **endPos); | ||
57 | 59 | ||
58 | enum iAlignment { | 60 | enum iAlignment { |
59 | left_Alignment, | 61 | left_Alignment, |