FLTK logo

Re: [fltk/fltk] In Fl_Text_Display style should apply to UTF-8 characters. (#233)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] In Fl_Text_Display style should apply to UTF-8 characters. (#233) erco77 May 21, 2021  
 

Ah, it's true that the app usually handles keeping the two buffers in sync in an automated way, and that the fixed string use of "AAAAA\nBBBBB.." is just for super-simple demos, and not practical for application use.

So agreed, docs could help this.

Perhaps too, a /simple/ example (i.e. NOT the test/editor example) that is "utf8 aware" showing proper use of e.g. fl_utf8len() to keep the two buffers in sync.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.