[general]
name=RTL Expression Editor
qgisMinimumVersion=4.0
qgisMaximumVersion=4.99
description=Fixes right-to-left (Hebrew, Arabic) text rendering in the QGIS expression and layer filter builders.
about=QGIS's built-in editor (QScintilla) does not display right-to-left text correctly, especially when RTL and left-to-right text are mixed. Glyphs overlap and the text cursor jumps to the wrong place, which makes Hebrew or Arabic expressions and layer filters hard to read and almost impossible to edit.

    This plugin places an enhanced editor directly above the original one. The enhanced editor renders mixed RTL and LTR text correctly while staying fully sync-hronized with the original editor beneath it, so all existing QGIS functionality keeps working: the field, function and operator tools, validation, value previews and syntax highlighting. Matching brackets are highlighted as well. Nothing in QGIS is modified or replaced.

    The plugin also offers an optional advanced auto-complete system. Choose any project layer and its fields as the source of allowed values, with optional descriptions, groups and group descriptions. Press Ctrl+Space to complete either a field name or a value, and the suggestions adapt automatically to the field being queried and to the layer you are working on.


    When a custom auto-complete source is configured, an optional Read Mode switch appears inside the editor. Read Mode shows the value descriptions instead of the stored codes, making a long expression far easier tounderstand, and never alters the expression itself. Where the same code has different meanings in different groups, the description you picked is saved in the project file and restored automatically, so Read Mode always shows the right one, for everyone who opens the project.
version=1.3
author=Jossef Kanter
email=jossefkan@gmail.com

tracker=https://github.com/GallPeters/rtl-expression-editor
repository=https://github.com/GallPeters/rtl-expression-editor

# Optional metadata
tags=rtl,hebrew,arabic,expression,filter,editor,expression 
homepage=https://github.com/GallPeters/rtl-expression-editor
icon=icon.png
experimental=False
deprecated=False
hasProcessingProvider=no
server=False

** v1.3 (10.08.2026):
  - Improved: the suggestion list now shows values without their surrounding quotes.
  - Improved: clearer labels in the settings window, with required options listed first.
  - Improved: read mode and the suggestion list now show values without surrounding quotes
  - Fixed: read mode now handles code and description columns whose values include quotes.
  - Fixed transparent background issue in the editor.

** v1.2 (06.08.2026):
  - Added a Settings dialog with an enable/disable switch.
  - Added optional autocomplete from project layer values.
  - Added Read mode to display value descriptions instead of codes.
  - Added project-specific storage for custom value descriptions.

** v1.1 (03.08.2026):
  - RTL window now follows the original window's position and size.
  - Added syntax highlighting.
  - Removed the Apply and Cancel buttons.

** v1.0 (26.07.2026):
  - Initial release.