diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-01-05 22:00:54 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-01-05 22:00:54 +0100 |
| commit | 9d474dfcdf32993fc93d2b1b87a2e8ba1cf927e5 (patch) | |
| tree | fd841e824b536c3d96c7fffebb19683cbaf3db3d /src/Fl_Text_Display.cxx | |
| parent | fc1efc7957c8f9307b4cca261103f2fc4e6fc553 (diff) | |
Fix whitespace and Makefile dependencies
No code changes
Diffstat (limited to 'src/Fl_Text_Display.cxx')
| -rw-r--r-- | src/Fl_Text_Display.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx index 64117da72..af9881541 100644 --- a/src/Fl_Text_Display.cxx +++ b/src/Fl_Text_Display.cxx @@ -393,18 +393,18 @@ void Fl_Text_Display::buffer( Fl_Text_Buffer *buf ) { Style buffers, tables and their associated memory are managed by the caller. Styles are ranged from 65 ('A') to 126. - + \note Style information in the style buffer must have the same byte offset as - the corresponding character in the text buffer. UTF-8 characters can have a - maximum length of four bytes. Style information must take + the corresponding character in the text buffer. UTF-8 characters can have a + maximum length of four bytes. Style information must take this into account and fill the unused bytes with 0. See `fl_utf8len()`. - + Text: "*g* r ü *n*" , where normal style is 'A', and bold is 'B' \code Text Buffer(hex): 67 72 c3 bc 6e : gr..n Style Buffer(hex): 42 41 41 00 42 : BAA.B \endcode - + \param styleBuffer this buffer works in parallel to the text buffer. For every character in the text buffer, the style buffer has a byte at the same offset that contains an index into an array of possible styles. |
