EmEditor (text editor) Forum Index EmEditor Core Bug Reports
document.Config.File.Delimiter | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| LTT | Posted on: 11/26/2012 7:06 am |
Just can't stay away ![]() ![]() Joined: 10/11/2006 From: Posts: 84 |
document.Config.File.Delimiter 1.
cDSV = document.Config.File.Delimiter; can get the current Delimiter. But document.Config.File.Delimiter = cDSV; document.Config.Save(); can not set it. 2. Can not get the content by using [Find Macro Keyword] command on "Delimiter". |
| Yutaka | Posted on: 11/26/2012 9:50 am |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2423 |
Re: document.Config.File.Delimiter Hello,
1. You will need to load the Config object into the memory before you can modify and save it. Please rewrite like this: 2. I will add Delimiter to the help index. Thanks!
|
| LTT | Posted on: 11/28/2012 4:04 am |
Just can't stay away ![]() ![]() Joined: 10/11/2006 From: Posts: 84 |
Re: document.Config.File.Delimiter Thank you.
I have some more questions and hope you will give a reply. 1. I want to load the settings of the existing "X" configuration into the current one. But nothing happened. How to use the Load method? 2. I can add a configuration by using document.Config.Save("X"). But is there a macro way to delete a configuration? |
| Yutaka | Posted on: 11/28/2012 10:28 am |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2423 |
Re: document.Config.File.Delimiter Hello,
When you do something like below, you can change the configuration properties for C++: You can't add or delete a configuration by macros.
|
| LTT | Posted on: 12/3/2012 11:47 pm |
Just can't stay away ![]() ![]() Joined: 10/11/2006 From: Posts: 84 |
Re: document.Config.File.Delimiter So the Load method can be used to get or set the properties of a non-current configuration. That's what I wanted. Thanks.
Actually, document.Config.Save("X") duplicates the current configuration. So I used it to add a configuration. Minor things: I think "Delimiter" should be included in Highlight (1). (JSEE/VBEE, reset.) If I use document.ConfigName = "xml", and the existing configuration name is "XML", I think the status bar should display "XML", rather than "xml". |
| Yutaka | Posted on: 12/4/2012 7:46 am |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2423 |
Re: document.Config.File.Delimiter Hi LTT,
I am fixing the "xml" vs. "XML" issue. Thanks!
|
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |




