Revision: 13667 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13667&view=rev Author: vouchcac Date: 2010-01-22 07:51:14 +0000 (Fri, 22 Jan 2010)
Log Message: ----------- 2010-01-21 23:59 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbqt/generator/qt45.qtp + contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbqt/qth/QApplication.qth * contrib/hbqt/qth/QPlainTextEdit.qth * contrib/hbqt/qtgui/filelist.mk * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qtgui/QPlainTextEdit.cpp + contrib/hbqt/qtgui/HBQPlainTextEdit.cpp + contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/filelist.mk * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_garbage.h * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg + Added HBQPlainTextEdit() class which implements some constructs which were not possible in pure prg code. The underlying code has been borrowed from TextEdit.c of QWriter - a work of Gancov Kostya <kos...@mail.ru>, a big thank you. The code has been extensively formatted and changed to adopt to Harbour standards. The direct benefits by adopting this class are: : * Current line highlighting is absolutely ok now. * Line numbers display is extremely fast and optimized. * Book-marks are shown at the left of line-numbers. * Parenthesis matching is absolutely delightful. * To Upper/Lower implementation is accurate spanning many lines. * Stream commenting is made possible. * Book-marks management is smooth. In IDE book-marks are implemented in different way than most IDE's offer. Here is the description: * Click on "Toggle Mark" icon on the toolbar. * A small dot will appear on the left of current line. * Look at status-bar, a small colored pushbutton will appear. * Navigate the document as usual. * Click on the colored push button staying in statusbar. * The editing cursor will stay at book-mark represented by that colored button and current line will appear highlighted with the same color as that of button. * Navigate to another location and click again on "Toggle Mark" icon. * A new dot and one more colored button will appear in the statusbar. * You can create 6 book marks as such and all will have different colors. * You can click on any of desired usage. * To delete a book-mark click on the button then "Toggle Mark" * One button at the right will disappear. * All tabs will contain their own book-marks. * And every split window will have its own. * Navigating different tabs or split windows will rearrange the buttons according to its own settings. ; QUESTION : Is it worth the effort to save book-marks settings for next session? Modified Paths: -------------- trunk/harbour/ChangeLog trunk/harbour/contrib/hbide/hbide.prg trunk/harbour/contrib/hbide/ideactions.prg trunk/harbour/contrib/hbide/idedocks.prg trunk/harbour/contrib/hbide/ideeditor.prg trunk/harbour/contrib/hbide/idemisc.prg trunk/harbour/contrib/hbide/ideobject.prg trunk/harbour/contrib/hbide/ideprojmanager.prg trunk/harbour/contrib/hbide/idesources.prg trunk/harbour/contrib/hbqt/filelist.mk trunk/harbour/contrib/hbqt/generator/qt45.qtp trunk/harbour/contrib/hbqt/hbqt.h trunk/harbour/contrib/hbqt/hbqt_garbage.h trunk/harbour/contrib/hbqt/qtgui/QApplication.cpp trunk/harbour/contrib/hbqt/qtgui/QPlainTextEdit.cpp trunk/harbour/contrib/hbqt/qtgui/filelist.mk trunk/harbour/contrib/hbqt/qth/QApplication.qth trunk/harbour/contrib/hbqt/qth/QPlainTextEdit.qth Added Paths: ----------- trunk/harbour/contrib/hbqt/qtgui/HBQPlainTextEdit.cpp trunk/harbour/contrib/hbqt/qtgui/THBQPlainTextEdit.prg trunk/harbour/contrib/hbqt/qth/HBQPlainTextEdit.qth 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