Re: GtkScintilla and word wrap?!?
| From: | Alan Knowles | Date: | Tue, 22 Apr 2003 00:55:21 +0000 |
| Subject: | Re: GtkScintilla and word wrap?!? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3257@lists.php.net to get a copy of this message | ||
Benjamin Smith wrote:
How do you make GtkScintilla word wrap instead of scroll horizontally? Do I have to "fake it" with php's word_wrap() and a callback? Acording to the manual it exists - however I'm nothttp://www.scintilla.org/ScintillaDoc.html#SCI_SETWRAPMODE It's defined in gtk scintilla as get_wrap_mode/set_wrap_mode it's not in ext/scintilla.defs set sends a integer, get sends nothing and returns an integer You should be able to add it to scintilla.defs in a few minutes. - if you get it to work send a patch to the mailing list and I'll add it to the source..
Also, is there a good resource for definitions to the GtkScintilla functions? (The php-gtk documentation for GtkScintilla is basically empty!) Nope. :)Actually the best place to look is http://www.scintilla.org/ScintillaDoc.html Regards Alan
-Ben-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com