Anonymous | Login | Signup for a new account | 2024-04-19 16:57 EDT |
Main | My View | View Issues | Change Log | Roadmap | Wiki | My Account |
View Issue Details [ Jump to Notes ] [ Wiki ] | [ Issue History ] [ Print ] | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
0000156 | mSLDev | GUI Related | public | 2013-05-13 03:55 | 2013-05-13 19:52 | ||||||
Reporter | user36 | ||||||||||
Assigned To | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||
Status | new | Resolution | open | ||||||||
Platform | Win7 64-bit | OS | Windows 7 | OS Version | (6.1) | ||||||
Product Version | |||||||||||
Target Version | Fixed in Version | ||||||||||
Summary | 0000156: Other topics in the INI file appear while editting a script | ||||||||||
Description | items that arent under the [script] topic appear in the editor. | ||||||||||
Steps To Reproduce | 1) Add another topic to the ini file [topic] text=text 2) Open in mSLDev "text" will appear above or below the script depending on its position in the INI file relative to [script] | ||||||||||
Tags | No tags attached. | ||||||||||
Beta mIRC version? | |||||||||||
mIRC Version | |||||||||||
Attached Files | |||||||||||
Notes | |
(0000092) user36 2013-05-13 04:03 |
Didn't catch it before but if you save after opening it like this. It saves the whole thing under [script] and removes the other topics. |
(0000093) administrator (administrator) 2013-05-13 15:03 |
Why do you have other sections anyway? on save, the file is purged and rewritten to; hence the results you see. |
(0000094) user36 2013-05-13 19:35 |
I had seen a script before that saved its settings to itself under a different topic. I thought that was a cool idea because then you don't have to deal with two files and can just reference it with $script. |
(0000095) administrator (administrator) 2013-05-13 19:52 edited on: 2013-05-13 19:53 |
That sounds like a horrible idea from a design point of view. It prevents the ability to copy and drop the code into existing script files. Such scripts would also certainly fail if the user has check file monitors every time. Attempting to work around that issue using /reload or /load doesn't solve it [yet*] either. * As a side note, I've reported the workaround as a bug a while back (http://forums.mirc.com/ubbthreads.php/topics/240427/reload_and_file_changed_dialog [^]) and it is fixed in the current beta (7.31, http://forums.mirc.com/ubbthreads.php/topics/225704/mIRC_beta#Post225704 [^] (Item number 7)). However it still halts the code when you execute reload, therefore one would also have to accommodate the script with an on load event as well if executing more code is desired. I will take a look at supporting additional sections. |
Issue History | |||
Date Modified | Username | Field | Change |
2013-05-13 03:55 | user36 | New Issue | |
2013-05-13 04:03 | user36 | Note Added: 0000092 | |
2013-05-13 15:03 | administrator | Note Added: 0000093 | |
2013-05-13 19:35 | user36 | Note Added: 0000094 | |
2013-05-13 19:52 | administrator | Note Added: 0000095 | |
2013-05-13 19:53 | administrator | Note Edited: 0000095 | View Revisions |
2013-05-13 19:53 | administrator | Note Edited: 0000095 | View Revisions |
Copyright © 2000 - 2011 MantisBT Group |