Re: Gtk+2 Textview, (editor) compiled on Windows and 'i' interpreted as 'ctrl+i' (indent)?

2017-06-22 Thread David C. Rankin
On 06/21/2017 05:52 AM, David C. Rankin wrote: > Now all I have to do is figure out how to fix > gtk_source_language_manager_set_search_path () on windows so it can find my > sourceview language files in > "C:\opt\gtk2\share\gtksourceview-2.0\language-specs" The search paths problem was the

Re: Gtk+2 Textview, (editor) compiled on Windows and 'i' interpreted as 'ctrl+i' (indent)?

2017-06-21 Thread David C. Rankin
On 06/21/2017 04:11 AM, David C. Rankin wrote: Well, I have identified the problem, and have a work-around, even if I haven't solved it. Here is the code I originally posted which provides 'ctrl+i' for indent and 'shift+ctrl+i' for unindent: > ... > gtk_widget_add_accelerator

Re: Gtk+2 Textview, (editor) compiled on Windows and 'i' interpreted as 'ctrl+i' (indent)?

2017-06-21 Thread Joël Krähemann
Hi Probably different locales. On linux you probably have an ASCII compatible character coding or just UTF-8. Note on windows iso8859-15 is available, at most for old versions. I assume that you are running a windows codepage like 1252. Bests, Joël On Wed, Jun 21, 2017 at 11:11 AM, David C.

Gtk+2 Textview, (editor) compiled on Windows and 'i' interpreted as 'ctrl+i' (indent)?

2017-06-21 Thread David C. Rankin
All, This is a bizarre issue. I have a small editor written in gtk+2 (with optional build w/gktsourceview) It builds and runs without issue on Linux. I've built it on windows (and it builds without issue), but when running the editor, if I type and 'i' in the text view window, it 'indents' the