Hi,
I recently came across "WhiteRoom", a "distraction free text editor".
Mainly it's an editor that shows only the text you're working on
(fullscreen, without any scrollbars/menus/...), hiding everything that
could possibly distract from said text. That was when I noted that
fullscreen mode would be a nice feature for SciTE, and that the current
implementation is more or less a maximize mode as opposed to a real
fullscreen window.
My quick hack for GTK looks like this (in SciTEGTK::Command()):
--- snip ---
case IDM_FULLSCREEN:
{
fullScreen = !fullScreen;
GdkWindow* parent_w = PWidget(wSciTE)->window;
if (fullScreen)
gdk_window_fullscreen(parent_w);
else
gdk_window_unfullscreen(parent_w);
}
SizeSubWindows();
CheckMenus();
break;
--- snap ---
Quite possibly there should be modifications in other places as well,
and maybe checks whether the fullscreen mode switch was successful (to
check the menu accordingly). But it does work for me and documentation
says it should work with any reasonably standards compliant window manager.
Let me know what you think,
-- Sebastian
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest