[Gambas-user] Editor word wrap mode

Charlie Reinl Karl.Reinl at ...2345...
Sun Jun 7 13:24:51 CEST 2015


Am Sonntag, den 07.06.2015, 10:16 +0930 schrieb adamnt42 at ...626...:
> On Sat, 06 Jun 2015 16:45:52 +0200
> Benoît Minisini <gambas at ...1...> wrote:
> 
> > Pfew !
> > 
> > I think I finally succeeded in implementing word wrap mode in the new 
> > text editor. It was painful, but here it is.
> > 
> > I have added two options in the IDE so that you can test:
> > 
> > - A button to toggle word wrap mode individually in each editor.
> > 
> > - A global option to define if word wrap mode must be enabled by default 
> > when you open a new editor.
> > 
> > Enabling the wrap mode makes the editor slower, as a text line must be 
> > layouted each time the editor is resized, and it can take more than one 
> > line to be displayed.
> > 
> > But you will tell me if you have any problem!
> > 
> > Regards,
> > 
> > -- 
> > Benoît Minisini
> > 
> Ah Benoît, sorry to spoil your weekend  but this one is a bit of a problem.
> The attached project demonstrates wrappng problems with "very" long source lines. In particular, pre-declaration inline help.
> Hopefully the source explains and shows the problem well enough at your end. If not I can send screen shots separately.
> 
> Open the project in the IDE with line wrapping turned off. Read the explanation at MMain.module line 9. Then set wrapping on.
> 
> regards
> Bruce

Salut,

thats are my first steps with the new line wrapping, I just loaded
Bruce's demo-project.
I get some strange text behavior, look at attached screenshots.

EX: Public Function unknown(...) As Variant 
and in the text lines


[System]
Gambas=3.7.90          rev.7120
OperatingSystem=Linux
Kernel=3.2.0-84-generic
Architecture=x86
Distribution=Ubuntu 12.04.5 LTS
Desktop=GNOME
Theme=Plastique
Language=de_DE.UTF-8
Memory=3025M

[Libraries]
Cairo=libcairo.so.2.11000.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.5.8
GStreamer=libgstreamer-0.10.so.0.30.0
GTK+3=libgtk-3.so.0.400.2
GTK+=libgtk-x11-2.0.so.0.2400.10
Poppler=libpoppler.so.19.0.0
Qt4=libQtCore.so.4.8.1
SDL=libSDL-1.2.so.0.11.3

-- 
Amicalement
Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto vom 2015-06-07 13:11:20.png
Type: image/png
Size: 13098 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150607/02385e61/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto vom 2015-06-07 12:46:26.png
Type: image/png
Size: 14988 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150607/02385e61/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto vom 2015-06-07 12:45:54.png
Type: image/png
Size: 9936 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150607/02385e61/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto vom 2015-06-07 13:18:20.png
Type: image/png
Size: 54542 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150607/02385e61/attachment-0003.png>


More information about the User mailing list