Bug 61782 - QT Editor - tab key should enter a tab
Summary: QT Editor - tab key should enter a tab
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevelop
Classification: Applications
Component: QEditor (show other bugs)
Version: git master
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-28 23:44 UTC by Jon Smirl
Modified: 2006-03-16 21:35 UTC (History)
0 users

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 Jon Smirl 2003-07-28 23:44:23 UTC
Version:           CVS (using KDE KDE 3.1)
Installed from:    RedHat RPMs

Typing the TAB key is not entering a tab into the text with the QTEditor. By default TAB is set to the editor INDENT function.

I think TAB should default to entering a tab character and let the user changing it if they want. I turned off the assignment of TAB to INDENT and TAB still didn't add tabs to my file. Using Ctrl-I does add a tab char.

Actual tab chars are required when editing Makefiles and some other config files.
Comment 1 Harald Fernengel 2003-07-29 16:34:58 UTC
qEditor is designed to behave similar to emacs, so the TAB key will indent by default. 
 
There's a flag (m_tabIndent in qeditor.h) which switches Tab-Indenting off, but afaik it is not 
publically available. If you want this bug fixed, just add a new checkbox to the configuration 
dialog, save the setting and send a patch :) 
Comment 2 Jon Smirl 2003-07-29 16:38:31 UTC
I went into the key assignment dialog and set the mapping for TAB to none from
it's default of indent. Shouldn't that have restored the TAB key as entering a
TAB character?
Comment 3 Matt Rogers 2006-03-16 21:35:40 UTC
QEditor has been removed for KDevelop 4 and none of these bugs will be fixed 
between now and then.