Bug 159127 - Wrong generation of double prime when it is used as acute accent
Summary: Wrong generation of double prime when it is used as acute accent
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: 4.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-11 11:22 UTC by Andrea
Modified: 2012-11-02 22:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea 2008-03-11 11:22:15 UTC
Version:           2.0.1 (using 3.5.9 "release 51.3" , openSUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.22.17-0.1-default

In Italian, some words need of an acute accent.

When such words are typed using the sequence \', kile generates \'' so the second prime must be deleted. When prime is used as a prime, after a word or a command, kile usually does not generate the second prime (for example, in $a'$ or $\alpha'$).

I think that second prime should not be generated when the sequence \' is typed.

Best regards,
Andrea
Comment 1 Thomas Braun 2008-05-04 15:55:24 UTC
Hi,

do you have autobrackets in the editor settings (configure kile->editor->Editing) turned on?

If yes, this is a katepart bug and I would forwared them to the kwrite people.

Thanks,
Thomas
Comment 2 Andrea 2008-05-04 21:27:37 UTC
Hi Thomas,

yes, it is turned on.

Regards,
Andrea
Comment 3 Thomas Braun 2008-08-26 18:42:52 UTC
Hello Kate devs,

the autobrackets function in configure kate->editing states in the tooltip that it completes ([,( and {(.

But it also completes ' and ". This is neither documented nor desired inside kile.

I have tested the KDE 3.5.5 and KDE 4.1 version of kate.

Thanks a lot,
Thomas (member of kile dev team)
Comment 4 Dominik Haumann 2011-09-20 21:32:38 UTC
probably the handling of the auto brackets should be done in the indenter scripts?

Then for Kile, it would work as expected maybe...
Comment 5 Christoph Cullmann 2012-11-02 22:38:05 UTC
We now only use the auto-bracket plugin, that let you configure this and even detects \'.

Git commit d51d4820a854985a833f28f1facac9d9287466ab by Christoph Cullmann.
Committed on 02/11/2012 at 23:11.
Pushed by cullmann into branch 'master'.

remove auto bracket feature in kate
the auto bracket plugin is much more versatile
added to it feature to auto-complete { for tex, too
BUG: 241104
BUG: 198540

M  +0    -5    doc/kate/configuring.docbook
M  +0    -1    ktexteditor/configinterface.h
M  +0    -10   part/dialogs/editconfigwidget.ui
M  +0    -4    part/dialogs/katedialogs.cpp
M  +10   -86   part/document/katedocument.cpp
M  +0    -10   part/plugins/autobrace/autobrace.cpp
M  +3    -2    part/syntax/data/modelines.xml
M  +0    -23   part/utils/kateconfig.cpp
M  +0    -5    part/utils/kateconfig.h
M  +0    -5    part/variableeditor/variablelineedit.cpp

http://commits.kde.org/kate/d51d4820a854985a833f28f1facac9d9287466ab