EmEditor (text editor) Forum Index
   EmEditor Core Bug Reports
     Bug with show marks
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Yutaka
Posted on: 8/30/2010 12:40 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2398
Re: Bug with show marks
Hello owilsky,

You will need to load the Config object into the memory before you can modify and save it. Please rewrite like this:

#title = "Marks" 
#tooltip = "Toggle Marks ON/OFF"  

editor.ExecuteCommandByID(4370); //EEID_VIEW_MARKS (4370)   
cfg = document.Config;
if(cfg.Mark.ShowReturns) cfg.Mark.ShowSpaces = true; 
else cfg.Mark.ShowSpaces = false;  

cfg.Save();


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

Flat Previous Topic | Next Topic


Subject Poster Date
   Bug with show marks owilsky 8/26/2010 11:04 pm
     Re: Bug with show marks Yutaka 8/26/2010 11:09 pm
       Re: Bug with show marks owilsky 8/26/2010 11:23 pm
         Re: Bug with show marks zhouzh2 8/29/2010 4:44 am
           Re: Bug with show marks owilsky 8/30/2010 12:28 am
           » Re: Bug with show marks Yutaka 8/30/2010 12:40 pm
               Re: Bug with show marks owilsky 8/30/2010 11:03 pm

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文