Bug 40703 - kdevelop 2.1 editor: auto indent: uses spaces not tabs
Summary: kdevelop 2.1 editor: auto indent: uses spaces not tabs
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: 2.1
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-11 02:33 UTC by James Fischer
Modified: 2002-09-16 14:43 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 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