search for: set_styling

Displaying 15 results from an estimated 15 matches for "set_styling".

Did you mean: set_string
2007 Oct 24
1
Problems with creating my own syntax highlighter
...o work.. I tried to edit the scintilla sample and added this event(@sci is the StyledTextCtrl): @sci.evt_stc_change(@sci.get_id) do @sci.clear_document_style @sci.start_styling(1,31) @sci.style_set_font_attr(10, 10, "Courier", true, true, true) @sci.set_styling(2,10) puts 1 end This prints out "1" when you edit the text(twice actually, which i do not understand), but doesn''t change the text layout. But if I put it in an event triggered by a button, it will work(onEOL is triggered by clicking the "show end of line"...
2007 Apr 11
5
WIN32OLE MS Word Help
Hi all, I am trying to create word document in ruby using WIN32OLE. as.. require ''win32ole'' word = WIN32OLE.new("Word.Application") word.visible = true word.documents.add selection = word.selection word.Selection.TypeText "This is some text." ... .. . Can we set header and footer to document? I want to generate a document such that its header contains an
2007 Apr 12
1
(no subject)
Bonjour. Je n''ai pas encore eu l''occasion d''utiliser TE_RICH2 en plus de TE_RICH | TE_MULTILINE, je compte l''essayé. Pour rentrer le texte dans TextCtrl j''utilise : @dou << texte Sebastien _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Mar 28
0
[924] branches/wxruby2/wxwidgets_282: Changes 2.6 -> 2.8 Wx API; remove deprecated methods and update doc
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Mar 28
0
[925] branches/wxruby2/wxwidgets_282/doc/textile/filedialog.txtl: Improvements to doc from wxWidgets 2.8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2008 Aug 24
2
Missing ids in documentation
I notice some link that didn''t work in the documentation. By closer inspection I found that some of the headlines missed id-tags. The following grep sequence find them. grep ''<h3'' *.html | grep ''#'' | grep -v ''id='' Here is the output brush.html:<h3 class="Brush_getcolour">Brush#get_colour</h3>
2007 May 21
5
Wx::Scintilla class not defined
I''m posting this for a friend who is having trouble with this and here is his message. "Heya! I''m working on a script editor application, but it''s missing one key feature: Syntax highlighting. Seeing this, I looked around in the sample directory and came across scintilla.rb. I attempted a run, however Ruby reported Wxruby2::Scintilla as an uninitialized
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note the new %directorargout typemap I added to fix wxWindows calling into SWIG. I don''t know if this can fix all such problems or not. Let me know what you think. I also rubified the sample a little bit more. Also, note that I fix the << operator so the function can be called. I hope I did this right. Roy
2005 Aug 15
1
TextAttr.i
Hi New .i file attached; compiled and tested on OS X, though background colour doesn''t seem to work as documented - applying TextAttr.new(fg_colour, bg_colour) doesn''t seem to affect the actual shown colour, even with TE_RICH|TE_RICH2 styles on the TextCtrl. This is also true of current wx on Windows but not Linux. As per Nick''s comment previously, TextAttr and
2006 Dec 14
5
wxruby2-preview Gauge and wx-sugar with SplitterWindow
First of all, just wanted to say big thanks for all the great work on wxruby2 .. I''ve been a user of 0.6 for a long time and its proved very useful over the years. It''s great to finally have a multi-platform, gem installable ui toolkit that doesn''t suck! Secondly, thanks also for wx-sugar. I was drowning in sizers and started to write my own layout library ... but
2007 Jan 22
0
[850] trunk/wxruby2/samples/bigdemo/bigdemo.rb: Fix crasher when selecting first-level category in tree
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Apr 12
9
taille de caractère
en fait je vous renvoi ce message car maintenant la taille de la police change au bout de 500 lignes environ, alors que j''avais reussi à garder la taille jusqu''à environ 5000 lignes. Je ne comprend pas. Est-ce que c''est instable? le bout de code que vous m''avez envoyer ne marche pas. merci Sebastien _______________________________________________ wxruby-users
2007 Mar 30
0
[933] branches/wxruby2/wxwidgets_282: Font API 2.6 -> 2.8, corrections to Event doc
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Dec 26
0
[806] trunk/wxruby2/samples/treectrl: Restored demonstration of use of icons and fonts within TreeCtrl
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jul 04
0
[1104] trunk/wxruby2: Added 2.8 methods to TextCtrl & document them; tidy up header file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding: