| Summary: | code folding problem when scripting bash scripts | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | markus flaig <toskala> |
| Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Folding is performed by katepart. Reassigning. this seems to work in CVS version, will ship fixed with KDE 3.3 |
Version: 3.0.3 (using KDE 3.2.2, Gentoo) Compiler: gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) OS: Linux (i686) release 2.6.5-gentoo-r1 hi there, the problem with code folding occurs whenever i script a bash-script and create a function that contains several if-clauses. example script-code: function_foo () { if [ -f /tmp/foo ]; then echo -e "hello foo!"; else echo -e "no foo :("; fi if [ -f /tmp/bar ]; then echo -e "hello bar!"; else echo -e "no bar :("; fi } so the problem now is, that i usually can fold each if-clause for itself, but somehow whenever i fold one of the if-clauses my whole function gets folded, what actually isnt what i want :) i am not sure why it occurs and when, i just discovered that problem 2 times now on 2 different scripts i try to maintain. nothing really serious, just a little bit annoying. cheerios, markus