[Gambas-user] Editor - How to

Charlie charlie at ...2793...
Mon Oct 21 23:12:48 CEST 2013


I want to use the "Editor" feature to highlight part of a string in bold. I
have looked at the "Highlighter" example provided in Gambas 3.5 (and perhaps
earlier versions) but I just can't work it out.

I would like something like: -

String1 = "Hello"
String2 = " to you"
Editor1.text= String1 & String2.Bold

I know it does not work this way but I hope this helps explain what I am
looking for.

Thanks in advance for any help.

[System]
OperatingSystem=Linux
Kernel=3.5.0-32-generic
Architecture=x86
Distribution=Linux Mint 14 Nadia
Desktop=GNOME
Theme=QGtk
Language=en_GB.UTF-8
Memory=7990M
[Libraries]
Cairo=libcairo.so.2.11200.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.7.2
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.1.0
GTK+=libgtk-x11-2.0.so.0.2400.13
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.28.0.0
Qt4=libQtCore.so.4.8.3
SDL=libSDL-1.2.so.0.11.4



--
View this message in context: http://gambas.8142.n7.nabble.com/Editor-How-to-tp43740.html
Sent from the gambas-user mailing list archive at Nabble.com.




More information about the User mailing list