Bug 40703

Summary: kdevelop 2.1 editor: auto indent: uses spaces not tabs
Product: [Applications] kdevelop Reporter: James Fischer <james.fischer>
Component: kdevelop 2.x (obsolete)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 2.1   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description James Fischer 2002-04-11 02:24:17 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           2.1 (using KDE 3.0.0 )
Severity:          normal
Installed from:    RedHat RPMs
Compiler:          gcc3
OS:                Linux
OS/Compiler notes: Not Specified

With the "auto indent" feature enabled if I press the TAB key type in some text and press the ENTER key the KDevelop 2.1 editor incorrectly uses a single space character to auto-indent the next line of text:

<TAB>TEXT<ENTER>// what I type
<SPACE>// auto-indent

Likewise

<TAB><TAB>TEXT<ENTER>// what I type
<SPACE><SPACE>// auto-indent

etc.

Here are the settings I'm using in the "kdevelop-2.1" dialog box (see: "Options | Editor..." from the KDevelop main menu):

:: Edit Options Group ::
Auto Indent
Backspace Indent
Remove Trailing Spaces
Wrap Cursor
Highlight Brackets
(All other options in this group are unchecked)

:: Select Options Group ::
Delete On Input
Auto Copy
(All other options in this group are unchecked)

:: Other ::
Wrap Words At: 78
Tab Width: 8
Undo steps: 5000
Indent Length: 8


Jim


(Submitted via bugs.kde.org)
Comment 1 John Firebaugh 2002-09-15 21:29:12 UTC
Now handled by embedded editor