texstudio-org / texstudio-org/texstudio

Autocomplete does not work for rtl commands

Open
#321 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
C++
Stars
3.6k
Forks
403
Avg merge
3h 14m
Merged PRs (30d)
12

Description

Xepersian provides Persian commands to be used in RTL context, but texstudio does not support commands in (at least) Persian (No highlight and no autocomplete)

Environment
  • TeXstudio: 2.12.10
  • Qt: Using Qt Version 5.8.0, compiled with Qt 5.8.0 R
  • OS: Windows 10
  • TeX distribution: texlive 2018
Expected behavior

autocomplete dialog box should appear while writing commands that is RTL.

Actual behavior

autocomplete dialog box won't appear while writing commands that is RTL.

How to reproduce

start typing commands in an RTL (Persian in my case)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in TeXstudio 2.12.10 on Windows with Persian or another RTL command, checking both autocomplete and syntax highlighting. Trace the existing autocomplete behavior for normal LaTeX commands; done means RTL commands produce the autocomplete dialog and appropriate highlighting without regressing normal commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, latex
Domain
desktop, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.