Summary: | Incorrect code folding in simple ruby statements | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Miquel Sabaté <mikisabate> |
Component: | folding | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adrian.lungu89 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
And this image is from Kate's lastest version (git).
Old kate version. |
Description
Miquel Sabaté
2011-08-01 20:45:59 UTC
Created attachment 62441 [details]
And this image is from Kate's lastest version (git).
Created attachment 62442 [details]
Old kate version.
It's look like Ruby's folding it's a little different (there are keywords, not special characters (like C) or tabs (like Python). I found the issue and will I am working to find a solution now. I hope that at the end of the day this will be solved. Adrian Git commit b6052e4b8e5b7910ced8c31977a30a14de861961 by Adrian Lungu. Committed on 02/08/2011 at 21:03. Pushed by lungu into branch 'master'. BUG: 279084 Problem: Ruby uses keywords to define folding blocks. This keywords act a little different then special characters used in C. Solution: m_virtualColumn was introduced for the startNodes M +10 -4 part/syntax/katecodefolding.h M +68 -14 part/syntax/katecodefolding.cpp http://commits.kde.org/kate/b6052e4b8e5b7910ced8c31977a30a14de861961 |