Hi all,

about the STR#1649 : "TextEditor's editor.cxx demo works incorrectly on intl. 
keyboards"
The problem is the same in the use of the class TextEditor with my french 
keyboard.

The problem come from the fltk::compose(int& del).

This seems working :
in the file src/compose.cxx, line 407

replace the conditionnal expression :
  if ((e_state & (ALT|META)) && !(ascii & 128)) return false;

by something like :
 if (
      ((e_state & ALT) && (!(e_state & SCROLLLOCK)) || ((e_state & META)))
      && !(ascii & 128)
     )   return false;


But maybe there's a more simple conditionnal expression...

TSalm
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to