Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling commands in Grazie #3494

Open
tmczar opened this issue Mar 18, 2024 · 1 comment
Open

Handling commands in Grazie #3494

tmczar opened this issue Mar 18, 2024 · 1 comment
Labels
bug Deficiencies in TeXiFy behaviour. Grazie

Comments

@tmczar
Copy link
Contributor

tmczar commented Mar 18, 2024

Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version

Intellij

Operating System

Arch Linux

TeXiFy IDEA version

0.9.3

What I did (steps to reproduce)

I use polish language, and this problem actually only shows in when writing in polish (polish grammar/spelling rules are triggered).

For some reason, the text sent to check by Language Tool gets glued together:

\title{Tytuł} 
\author{Autor}

Is changed into: TytułAutor, triggering the rule about "abnormal combination of big and small letters".

Similar problems trigger for other rules, but the cause is always the same: } + end of line is not considered as a separator.

Minimal example to reproduce the problem

\documentclass{article}
\title{Tytuł} 
\author{Autor}
\begin{document}
    
\end{document}

Expected behavior

No spellcheck warnings

Actual behavior

image

Warning comment is (in polish) Nietypowa kombinacja małych i dużych liter. Czy nie powinno być: tytułautor?.

(Which translates to: Abnormal combination of big and small letters. Shouldn't it be: tytułautor?

(if applicable) The full stacktrace of the exception thrown


@tmczar tmczar added bug Deficiencies in TeXiFy behaviour. untriaged Issue type still needs to be triaged or verified. labels Mar 18, 2024
@PHPirates
Copy link
Collaborator

Thanks, I can reproduce the problem in Polish indeed.

@PHPirates PHPirates removed the untriaged Issue type still needs to be triaged or verified. label Mar 20, 2024
@PHPirates PHPirates changed the title } is not treated as a separator for checks like Language Tool Handling commands in Grazie Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Deficiencies in TeXiFy behaviour. Grazie
Projects
None yet
Development

No branches or pull requests

2 participants