Bug 53569 - Line-numbers hide when saving file
Summary: Line-numbers hide when saving file
Status: RESOLVED FIXED
Alias: None
Product: quanta
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: András Manţia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-29 12:08 UTC by Andreas Pietzowski
Modified: 2003-01-31 14:32 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 Andreas Pietzowski 2003-01-29 12:08:12 UTC
Version:           3.1 (using KDE KDE 3.1)
Installed from:    SuSE RPMs

When activating "show line-numbers in the editor" and then saving a file, those line-column hides again.

But anyway: Cool application!

Have a nice day
Pietz
Comment 1 András Manţia 2003-01-31 14:32:22 UTC
Subject: QUANTA_3_1_BRANCH: quanta/quanta

CVS commit by amantia: 

Honour the settings from Configure Editor->View defaults.

CCMAIL:53569-done@bugs.kde.org


  M +0 -9      document.cpp   1.89.2.2


--- quanta/quanta/document.cpp  #1.89.2.1:1.89.2.2
@@ -597,8 +597,4 @@ void Document::readConfig(KConfig *confi
   dynamic_cast<KTextEditor::ConfigInterface*>(m_doc)->readConfig( config );
   m_doc->setModified(m);
-  //read the line number & icon border setting from the General section
-//  config->setGroup("General Options");
-//  qConfig.lineNumbers = config->readBoolEntry("LineNumbers", false);
-//  qConfig.iconBar = config->readBoolEntry("Iconbar", false);
 }
 
@@ -606,9 +602,4 @@ void Document::writeConfig(KConfig *conf
 {
   dynamic_cast<KTextEditor::ConfigInterface*>(m_doc)->writeConfig( config );
-  //store the line number & icon border setting also in the General section
-  config->setGroup("Kate View");
-  config->writeEntry("LineNumbers", qConfig.lineNumbers);
-  config->writeEntry("Iconbar", qConfig.iconBar);
-  config->writeEntry("DynamicWordWrap", qConfig.dynamicWordWrap);
 }