RE: [PHP-GTK] GtkScintilla Usage

From: Date: Thu, 05 Aug 2004 13:54:12 +0000
Subject: RE: [PHP-GTK] GtkScintilla Usage
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4933@lists.php.net to get a copy of this message
>> On Win2k, if I use GtkScintilla instead of GtkText for text entry boxes: > GtkScintilla's way more sophisticated than you need for this. It's a > full-on editor. > http://gtk.php.net/manual/en/scn.gtkscintilla.php - just look > through that > function list.. _____________________ believe me, I did ;-) _____________________ >> 2. Can I do the equivalent of set_word_wrap on GtkScintilla as I can on >> GtkText > again, see manual. I realise it's not hugely helpful, but it does at least > tell you (most of) the functions that are available, and there's even a > useful usernote there from The Other Ben regards wrapping. __________________________________________________________________________ Ah, I was one click away from the comments by bens@effortlessis.com's user notes. That would have saved the day for me. The line wrap method (set_wrap_mode(BOOL)) and nixing the left border (set_margin_width_n(1,0)) were just what I was looking for. __________________________________________________________________________ >> (I really need to set line length and have the text scroll down >> vs. across)? >> >> 3. Any references _out_ there? > Tried google? GtkScintilla is a project in its own right, and so is > Scintilla itself - I find it difficult to believe we're the only team with > even a partial function list! _____________________________________________________________________________ Yup, I googled a lot (probably too late in the day for peak alertness, though), but most links were simply re-creations of the php-gtk docs function list with no explanation of the methods at all. And many of the methods had no effect when I tried them out. This link seems really promising: ******* http://www.scintilla.org/ScintillaDoc.html ******* thanks for the help. dave

« previous php.gtk.general (#4933) next »