Adds optional linewrapping in the status-, compiler- and message-tab of the message window. Mainly useful with a vertical layout, but still has some issues: - on_width_change() is called continuously while resizing the message window, (I did not notice any impact on CPU usage though). - when changing the setting, messages already present are not wrapped / unwrapped, only newly printed ones. - when resizing the window, messages already present are wrapped only until a new line would be required (but new messages work fine). - Only very minor, but GTK word wrap treats the minus preceding command line arguments as separate words (-> 'gcc -Wall' can become 'gcc -\nWall')
I hope it's not rude to make a pull request directly without first opening a corresponding issue. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1383
-- Commit Summary --
* Add option for linewrapping in message window * Correct minor inconsistency: return type not on same line as function
-- File Changes --
M data/geany.glade (96) M doc/geany.txt (4) M src/keyfile.c (2) M src/msgwindow.c (57) M src/msgwindow.h (2) M src/prefs.c (7) M src/ui_utils.h (1)
-- Patch Links --
https://github.com/geany/geany/pull/1383.patch https://github.com/geany/geany/pull/1383.diff