In the Editor control from gb.qt4.ext # Context When reviewing text read from a file in an Editor Control.
# Highlighting When MyEditorControl.Highlight attribute is set to 'Normal', the 'end-of-line' ( gb.crlf ) character is displayed as a musical note symbol ? I have tried various fonts but the symbol is the same for each font. If you use another highlight value ( Gambas, SQL...) then the symbol is NOT displayed. Q: Is there any way to disable this symbol displaying in 'Normal' mode ? # Select All When you call the editor function to MyEditorControl.SelectAll in code, it selects all the text lines but dose not highlight the code. All the text is selected and you can copy to clipboard and paste as required. If you do this manually by using the mouse - this works ok - all text is highlighted. If you use the shortcut keys Ctrl-A - this works ok- all text is highlighted. Q: Is there a parameter I can set to highlight all the text when 'MyEditorControl.SelectAll' is actioned ? # Wordwrap There is no parameter I can set to 'word-wrap' text if there is no embedded 'end-of-line' character. Q: Is it possible to add this functionality as a standard control parameter ? # LineNumbering The MyEditorControl.ShowLineNumbers functionality for Editor controls cannot be accessed ( Read Only) In the context Help is says: "Set this flag to display line numbers" but it is read-only. Q: How can you set this flag ? Q: Is it possible to be able to set this to True/False to show line numbers in the control ? Regards, Ian Roper Perth - Western Australia. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user