Revision: 13421 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13421&view=rev Author: vouchcac Date: 2009-12-31 07:45:45 +0000 (Thu, 31 Dec 2009)
Log Message: ----------- 2009-12-30 11:44 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/qtgui/QSyntaxHighlighter.cpp * contrib/hbqt/qtgui/TQSyntaxHighlighter.prg * contrib/hbqt/qth/QSyntaxHighlighter.qth + Implemented syntax highlighting mechanism at PRG level. * contrib/hbide/hbide.hbp * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg + contrib/hbide/iderequests.prg * contrib/hbide/idestylesheets.prg + Showcased syntax highlighting in action under prg control. This implementation offer colored tokens, bold, italic, underlined fonts. Please test. TODO: User interface to build new themes besides HBIDE defined ones. If you have, furinish the themes to be included as HBIDE's default themes, under follwoing heads: * Compiler Directives - #include... * Harbour Keywords - FUNCTION, DOCASE, ... * Operators - :=, .or., ... * Parenthesis and braces - (), {}, ... * Functions in general - DBCreate(), ... * Strings - "This is text", 'and this also' * Comments - // Comment, /* Useful Routine */, .. * Numeric constants - 123, 212.33,... * Background color The attributes will be ( in the order shown below ) aRGB = { 127,213,123 } lItalic = .T. | .F. lBold = .T. | .F. lUnderline = = .T. | .F. There are few more exotic attributes but for later... Modified Paths: -------------- trunk/harbour/ChangeLog trunk/harbour/contrib/hbide/hbide.hbp trunk/harbour/contrib/hbide/ideeditor.prg trunk/harbour/contrib/hbide/idemisc.prg trunk/harbour/contrib/hbide/idestylesheets.prg trunk/harbour/contrib/hbqt/hbqt.h trunk/harbour/contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp trunk/harbour/contrib/hbqt/hbqt_hbqsyntaxhighlighter.h trunk/harbour/contrib/hbqt/qtgui/QSyntaxHighlighter.cpp trunk/harbour/contrib/hbqt/qtgui/TQSyntaxHighlighter.prg trunk/harbour/contrib/hbqt/qth/QSyntaxHighlighter.qth Added Paths: ----------- trunk/harbour/contrib/hbide/iderequests.prg This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour