| Summary: | auto brackets overwriting existing brackets | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | ruediger.eichler |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
ruediger.eichler
2009-11-27 14:05:59 UTC
This is due to bug #101213. In my opinion we should revert the patch in #101213, which will automatically resolv this. This logic is dependent on the language you type, so It should rather be in the indenter anyway. Is reverting + closing this ok, other kate devs? Seems youre right. Didn't find it cause auto-bracket gave no results in search. This is fixed now by reverting the change in bug #101213 for KDE 4.4. The relevant commit: SVN commit 1058975 by dhaumann: revert non-deterministic insertion of brackets - always insert ')' for '(', same for {[" - backspace only deletes one character On the long run we need to find a different solution, depending on the current filtype. Ideally, this needs to be scripted as well... |