| Summary: | code folding not really working with php | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Martin Ereth <martin.ereth> |
| Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Code folding is done by the Kate part => reassigning. Code folding is done by the Kate part => reassigning. ...which raises the question, whether KTextEditor needs a code folding API. KDevelop parses C++ code pretty good now, from what I've heard, so it could set folding too. Same applies for Quanta. This report is a bit thin on details what exactly goes wrong, and under what circumstances, but I strongly suspect it's a duplicate of bug #103257 . Marking as such. If it's not, please add more detail. *** This bug has been marked as a duplicate of 103257 *** |
Version: (using KDE KDE 3.5.2) Installed from: Unlisted Binary Package OS: Linux The code folding for php fuctions or code blocks (the small plus sign on the left of the editor) isn't working properly. It should fold code blocks by searching for the corresponding closing curly bracket ({}) instead of guessing the end. Empty lines should not be a ending point of a code folding activity. Because code folding is dependent on the written language it should behave right for each language. After knowing (chosen or guessed) what type of language is open, quanta is able to offer code foldings the right way. Thanks for your work! Martin Ereth