Bug 158184

Summary: cannot assign script to dead_circumflex (^) and some capital letter combinations
Product: [Applications] kile Reporter: Misha Aizatulin <avatar>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: trunk-kde4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Misha Aizatulin 2008-02-21 20:35:46 UTC
Version:           2.0.0 (using 3.5.7 "release 72.2" , openSUSE 10.3)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.22.13-0.3-default

I am using scripts for autocompleting with cursor positioning. For instance "\frac" gets replaced with "\frac{}{}" with the cursor between the first braces.

However, I didn't manage to assign a script to certain sequences, for instance "\M" or "^" (which on my german keyboard gets produced as dead_circumflex). Nothing happens when I use these combinations. Same way nothing happens if I use "\fraC" instead of "\frac" as a sequence, so it seems to have something to do with capitals.
Comment 1 Thomas Braun 2009-05-26 23:16:07 UTC
A fix would be straight forward and would look like the following.
In my eyes this would be a good change.

diff --git a/kile/src/kile.cpp b/kile/src/kile.cpp
index ab3b69c..a3271ce 100644
--- a/kile/src/kile.cpp
+++ b/kile/src/kile.cpp
@@ -2457,7 +2457,7 @@ void Kile::slotPerformCheck()
 /////////////// KEYS - TOOLBARS CONFIGURATION ////////////////
 void Kile::configureKeys()
 {
-       KShortcutsDialog dlg(KShortcutsEditor::AllActions, KShortcutsEditor::LetterShortcutsDisallowed
+       KShortcutsDialog dlg(KShortcutsEditor::AllActions, KShortcutsEditor::LetterShortcutsAllowed, m
        QList<KXMLGUIClient*> clients = m_mainWindow->guiFactory()->clients();
        for(QList<KXMLGUIClient*>::iterator it = clients.begin(); it != clients.end(); ++it) {
                dlg.addCollection((*it)->actionCollection());
Comment 2 Misha Aizatulin 2010-11-04 02:06:42 UTC
Using version 2.0.85 now, the problem still persists. I also discovered that I cannot assign a script to "->" as a trigger.