From bfe60add4bf9c4ef1cac727f199e232fb231b470 Mon Sep 17 00:00:00 2001 From: HelioGuilherme66 Date: Thu, 20 Feb 2025 01:10:13 +0000 Subject: [PATCH] Fix colors of line numbers in Text Editor, add folding and tab markers --- CHANGELOG.adoc | 2 + README.adoc | 2 +- src/robotide/application/CHANGELOG.html | 4 ++ src/robotide/application/releasenotes.py | 4 +- src/robotide/context/__init__.py | 8 +++- src/robotide/editor/pythoneditor.py | 11 +++--- src/robotide/editor/texteditor.py | 50 +++++++----------------- src/robotide/preferences/settings.cfg | 8 ++++ src/robotide/version.py | 2 +- 9 files changed, 44 insertions(+), 47 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 7b43bb930..b8d066220 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -10,6 +10,8 @@ and this project adheres to http://semver.org/spec/v2.0.0.html[Semantic Versioni === Added - Added syntax colorization for the ``GROUP`` marker. +- Added on Text Editor, tab indentation markers and ``tab markers`` boolean setting with default ``True``. +- Added on Text Editor, folding margin with markers style configurable with ``fold symbols`` in settings.cfg. === Changed - Create directories when needed in New Project dialog. diff --git a/README.adoc b/README.adoc index ce1d4102e..b11294b03 100644 --- a/README.adoc +++ b/README.adoc @@ -40,7 +40,7 @@ Likewise, the current version of wxPython, is 4.2.2, but RIDE is known to work w `pip install -U robotframework-ride` -(3.8 <= python <= 3.13) Install current development version (**2.2dev8**) with: +(3.8 <= python <= 3.13) Install current development version (**2.2dev9**) with: `pip install -U https://github.com/robotframework/RIDE/archive/develop.zip` diff --git a/src/robotide/application/CHANGELOG.html b/src/robotide/application/CHANGELOG.html index 4c4d66acb..48b0bd5f0 100644 --- a/src/robotide/application/CHANGELOG.html +++ b/src/robotide/application/CHANGELOG.html @@ -2,6 +2,10 @@ Changelog

Changelog


All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

1.1. Added

  • Added syntax colorization for the ``GROUP`` marker. +
  • +Added on Text Editor, tab indentation markers and ``tab markers`` boolean setting with default ``True``. +
  • +Added on Text Editor, folding margin with markers style configurable with ``fold symbols`` in settings.cfg.

1.2. Changed

  • Create directories when needed in New Project dialog.
  • diff --git a/src/robotide/application/releasenotes.py b/src/robotide/application/releasenotes.py index 165b860cc..ae7374db6 100644 --- a/src/robotide/application/releasenotes.py +++ b/src/robotide/application/releasenotes.py @@ -168,6 +168,8 @@ def set_content(self, html_win, content):

New Features and Fixes Highlights

    +
  • Added on Text Editor, tab indentation markers and tab markers boolean setting with default True.
  • +
  • Added on Text Editor, folding margin with markers style configurable with fold symbols in settings.cfg.
  • Create directories when needed in New Project dialog.
  • Improved the recognition of BDD/Gherkin prefixes when localized in autocomplete on Grid Editor.
  • Added syntax colorization for the GROUP marker. Improved colorization for multiple Gherkin words, for @@ -229,7 +231,7 @@ def set_content(self, html_win, content):
    python -m robotide.postinstall -install

    or

    ride_postinstall.py -install
    -

    RIDE {VERSION} was released on 17/February/2025.

    +

    RIDE {VERSION} was released on 20/February/2025.