[kile] [Bug 419125] Code folding seems broken

2020-05-09 Thread Nibaldo G.
https://bugs.kde.org/show_bug.cgi?id=419125

--- Comment #5 from Nibaldo G.  ---
Fixed in KDE Frameworks 5.71.0, available on Sat June 13, 2020.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kile] [Bug 419125] Code folding seems broken

2020-05-09 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=419125

Christoph Cullmann  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://commits.kde.org/syn
   ||tax-highlighting/0b6c88cfc1
   ||6780cbbe8ccc1a9f5b0a796365a
   ||069

--- Comment #4 from Christoph Cullmann  ---
Git commit 0b6c88cfc16780cbbe8ccc1a9f5b0a796365a069 by Christoph Cullmann, on
behalf of Nibaldo González.
Committed on 09/05/2020 at 11:10.
Pushed by cullmann into branch 'master'.

LaTeX: fix folding in \end{...} and in regions markers BEGIN-END

Summary:

## Fix folding in \end{...}

In `\end{...}` the folding region "block" is terminated twice, which causes a
folding error.
{F8299444}

## Add folding in regions BEGIN/END

Add code folding in the rules of the region markers BEGIN/END. The context
"FindComments" is created with the rules of comments.

Reviewers: #framework_syntax_highlighting, dhaumann, cullmann

Reviewed By: #framework_syntax_highlighting, cullmann

Subscribers: kwrite-devel, kde-frameworks-devel

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D29521

M  +3-3autotests/folding/example.rmd.fold
M  +54   -30   autotests/folding/highlight.tex.fold
M  +24   -0autotests/html/highlight.tex.html
M  +24   -0autotests/input/highlight.tex
M  +24   -0autotests/reference/highlight.tex.ref
M  +36   -35   data/syntax/latex.xml

https://commits.kde.org/syntax-highlighting/0b6c88cfc16780cbbe8ccc1a9f5b0a796365a069

-- 
You are receiving this mail because:
You are watching all bug changes.

[kile] [Bug 419125] Code folding seems broken

2020-05-08 Thread Nibaldo G.
https://bugs.kde.org/show_bug.cgi?id=419125

Nibaldo G.  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1
 CC||nibg...@gmail.com

--- Comment #3 from Nibaldo G.  ---
Proposed patch: https://phabricator.kde.org/D29521

-- 
You are receiving this mail because:
You are watching all bug changes.

[kile] [Bug 419125] Code folding seems broken

2020-03-22 Thread Ville Aakko
https://bugs.kde.org/show_bug.cgi?id=419125

--- Comment #2 from Ville Aakko  ---
Sorry for the noise (previous comment was not meant to be).

I noticed as sending this bug, there is a workaround: add something (anything
except space) between % and BEGIN and % and END. Anything, say, another % will
suffice. Then Kile will be able to fold the blocks in question.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kile] [Bug 419125] Code folding seems broken

2020-03-22 Thread Ville Aakko
https://bugs.kde.org/show_bug.cgi?id=419125

--- Comment #1 from Ville Aakko  ---
Comment on attachment 126956
  --> https://bugs.kde.org/attachment.cgi?id=126956
A minimal test case for bug

>\documentclass[a4paper,10pt]{article}
>
>\usepackage{ucs}
>\usepackage[utf8]{inputenc}
>\usepackage[finnish]{babel}
>\usepackage{fontenc}
>
>\usepackage[dvips]{hyperref}
>
>\author{}
>\date{22.3.2020}
>
>\begin{document}
> \begin{abstract}
>  
> \end{abstract}
>
>% BEGIN something
>Here are some text describiing a new theorem. In the equation
>\begin{equation}
> E = mc^2
>\end{equation}
>we have a solution for energy-mass equivalence.
>
>% END something
>
>% some comment BEGIN
>Some text here
>% some comment END 
>% END
>
>\end{document}

-- 
You are receiving this mail because:
You are watching all bug changes.