Christian Surlykke
2005-05-21 16:54:23 UTC
Hi
This patch contains a modeline for SwtJemacs.
It consists of:
A new class "gnu.jemacs.swt.widgets.SwtWindowWidget". Up til now I've gotten away with using just the widgets that come with Swt and JFace, but here it seemed more convenient to write a new composite widget containing an StyledText for displaying and editing buffers and an (one-line, read-only) StyledText for displaying the modeline.
I've created a package - gnu.jemacs.swt.widgets - for it. Once I get around to making an echo area/minibuffer for SwtFrame there will be at least one more widget to go in here.
SwtWindow now has a swtWindowWidget field instead of the styledText field it used to have.
A field - modeLine - on SwtBuffer which is an FString.
The plan is that the lisp function 'redraw-modeline' should pick up the buffer-local variable modeline-format, convert it to an FString and put it int
This patch contains a modeline for SwtJemacs.
It consists of:
A new class "gnu.jemacs.swt.widgets.SwtWindowWidget". Up til now I've gotten away with using just the widgets that come with Swt and JFace, but here it seemed more convenient to write a new composite widget containing an StyledText for displaying and editing buffers and an (one-line, read-only) StyledText for displaying the modeline.
I've created a package - gnu.jemacs.swt.widgets - for it. Once I get around to making an echo area/minibuffer for SwtFrame there will be at least one more widget to go in here.
SwtWindow now has a swtWindowWidget field instead of the styledText field it used to have.
A field - modeLine - on SwtBuffer which is an FString.
The plan is that the lisp function 'redraw-modeline' should pick up the buffer-local variable modeline-format, convert it to an FString and put it int