[Gambas-Notification] [Git][gambas/gambas][master] 5 commits: New text highlighting design, with highlighting themes based on pre-defined style string names.
Benoît Minisini (@bminisini)
gitlab at mg.gitlab.com
Fri Nov 5 17:05:54 CET 2021
Benoît Minisini pushed to branch master at Gambas / gambas
Commits:
7b681d21 by gambas at 2021-11-05T16:46:08+01:00
New text highlighting design, with highlighting themes based on pre-defined style string names.
[GB.EVAL.HIGHLIGHT]
* NEW: Highlight: Styles is a new property that returns the string key available for all TextHighlighterStyle objects. The integer id of a style is its position in that array.
* NEW: Highlight: GetStyleName() is a new method that returns the translated name of a specific style.
* NEW: TextHighlighter: List is a new static property that returns a list of all implemented highlighter names.
* NEW: TextHighlighter: Name is a new property that returns the name of an highlighter.
* NEW: TextHighlighter: FullName is a new property that returns the human name of an highlighter.
* NEW: TextHighlighter: Styles is a new property that returns the styles actually used by an highlighter.
* NEW: TextHighlighter: ToAnsi(), ToHTML(), ToRichText() and Paint() method now take a TextHighlighterTheme or an array of TextHighlighterStyle as last argument.
* NEW: TextHighlighterStyle: Add Key, Name, Color, Bold, Underline, Dotted, Strikeout properties.
* NEW: TextHighlighterStyle: The Background property tells if the style is a background style according to its key.
* NEW: TextHighlighterStyle: The InvertedColor property returns the style color inverted for dark themes.
* NEW: TextHighlighterStyle: The ToString() method serializes the style to a string.
* NEW: TextHighlighterStyle: The FromString() method creates a style from a string returned by ToString().
* NEW: TextHighlighterTheme: A new class that represents a highlighting theme
* NEW: All highlighter classes were ported to the new design.
- - - - -
0f80f225 by gambas at 2021-11-05T16:46:35+01:00
The Highlight constants now follow the order defined by the new 'gb.eval.highlight' design.
[GB.EVAL]
* NEW: The Highlight constants now follow the order defined by the new 'gb.eval.highlight' design.
- - - - -
72ac01e1 by gambas at 2021-11-05T16:52:44+01:00
Make TextEditor compatible with the new 'gb.eval.highlight' design.
[GB.FORM.EDITOR]
* NEW: TextEditor: Theme is a new property that allows to define the TextHighlighterTheme associated with the editor.
* NEW: TextEditor: The Styles property is now deprecated. It returns now the array of TextHighlighterStyle associated with editor theme.
* NEW: TextEditor: The editor lines have now a little padding on the top and on the bottom, whose size is proportional to the font height.
* BUG: TextEditor: The line wrap markers now are correctly colorized when selected.
* NEW: TextEditor: Colorized text can be striked out.
- - - - -
abd179d7 by gambas at 2021-11-05T16:58:50+01:00
Implement the new highlighting design, and fix the use of new HtmlView in property help.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix use of new HtmlView in property help.
* BUG: Fix how the list of recently opened files is filled.
* NEW: Use the new highlighting design.
* NEW: Option dialog: The theme tab allows to choose the new highlighting styles by highlighters.
* NEW: Translation dialog: The list of new languages now displays the name of the associated translation file.
- - - - -
16e547ff by gambas at 2021-11-05T17:04:02+01:00
Translation dialog: Display the current translation and the current translation file in the dialog title.
[DEVELOPMENT ENVIRONMENT]
* NEW: Translation dialog: Display the current translation and the current translation file in the dialog title.
- - - - -
30 changed files:
- app/src/gambas3/.lang/fr.po
- app/src/gambas3/.project
- app/src/gambas3/.src/Component/CClassInfo.class
- app/src/gambas3/.src/Component/CComponent.class
- app/src/gambas3/.src/Component/CSymbolInfo.class
- app/src/gambas3/.src/Debug/FDebugInfo.class
- app/src/gambas3/.src/Editor/Code/FCompletion.class
- app/src/gambas3/.src/Editor/Code/FCompletion.form
- app/src/gambas3/.src/Editor/Form/FProperty.class
- app/src/gambas3/.src/Editor/Form/FProperty.form
- app/src/gambas3/.src/FMain.class
- app/src/gambas3/.src/Help/MHelp.module
- app/src/gambas3/.src/MTheme.module
- app/src/gambas3/.src/Options/FOption.class
- app/src/gambas3/.src/Options/FOption.form
- app/src/gambas3/.src/Project.module
- app/src/gambas3/.src/Search/FSearch.class
- app/src/gambas3/.src/Translation/FNewTranslation.class
- app/src/gambas3/.src/Translation/FNewTranslation.form
- app/src/gambas3/.src/Translation/FTranslate.class
- app/src/gambas3/.src/VersionControl/FVersionControl.class
- app/src/gambas3/help/property-help.html
- app/src/gambas3/help/wiki/style-offline-htmlview.css
- app/src/gambas3/theme/amber
- app/src/gambas3/theme/amethyst
- app/src/gambas3/theme/blues
- app/src/gambas3/theme/emerald
- app/src/gambas3/theme/gambas
- app/src/gambas3/theme/obsidian
- app/src/gambas3/theme/pastel
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/3e06b23ce83001447df01c4ea6897cea4e787432...16e547fffef821bff9220c40b1804a1e1c067f6c
--
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/3e06b23ce83001447df01c4ea6897cea4e787432...16e547fffef821bff9220c40b1804a1e1c067f6c
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20211105/02f4e9c9/attachment.htm>
More information about the Notification
mailing list