Revision: 13453 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13453&view=rev Author: vouchcac Date: 2010-01-03 04:04:43 +0000 (Sun, 03 Jan 2010)
Log Message: ----------- 2010-01-02 19:31 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idethemes.prg + contrib/hbide/resources/selectionlist.ui * contrib/hbide/resources/themes.ui ! Changed the way .ppo is presented. Now a new modeless window displays .ppo source and thus you have more control over comaprison with original source. You can keep as many such .ppo windows on the screen. + Implemented Editor Themes. HBIDE provides 5 default themes, along the lines of xMate, viz., 1. Classic 2. City Lights 3. Evening Glamour 4. Sand Storm with a few changes, and 5. Pritpal's Favourite. Themes interface provides for changing the existing themes as well as constructing a new one based on any exiting themes. Then user can save them in hbide.hbt file. HBIDE always loads default 5 themes as above then, HBIDE looks for hbide.hbt in the same folder where it is. If it finds one, it attempts to load it. In the loading process it will merge the duplicate themes, including the default ones. It means, if you modify an existing default theme and then save it in hbide.hbt, at next invocation default theme will be overwritten and your changes are reflected. But if the name of the theme is changed you have yours plus default both themes available. Default theme is "Pritpal's Favourite" which will be applied to any source file opened. You can override it by applying new theme to it. Right click on <Editors Tree><_any_source_file_> and select "Apply Theme" and finally select from a list of themes presented in a list box by double clicking onto one of choice. Next time you open HBIDE thus souce will be applied the last theme selected. You can re-define various labels on the Themes Dialog including drop-down list items of different parts of the sources. Just examine hbide.hbt and change the values of dialog elements. Differences from xMate implementation: 1. Theme can be applied to indivisual source separately. 2. Theme elements can have <Italic>, <Bold> and <Underline> attributes. 3. Themes can be copied and re-defined for n numbers. TODO: To apply themes per project. To implement some missing parts of source, such as, background color of selections, etc. You are encouraged to test this implementation. I will be more than happy to implement descent thoughts you can imagine. Modified Paths: -------------- trunk/harbour/ChangeLog trunk/harbour/contrib/hbide/hbide.prg trunk/harbour/contrib/hbide/ideeditor.prg trunk/harbour/contrib/hbide/idemisc.prg trunk/harbour/contrib/hbide/idesaveload.prg trunk/harbour/contrib/hbide/idethemes.prg trunk/harbour/contrib/hbide/resources/themes.ui Added Paths: ----------- trunk/harbour/contrib/hbide/resources/selectionlist.ui 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