Forum Replies Created
- AuthorPosts
- hihihloParticipant
thank you ! below code can work :
editor.NewFile(); var NewDoc = editor.ActiveDocument; editor.OpenFile(sFullFn, 0, eeOpenDetectAll); //if goal not open : open inplace; if goal open already : switch to goal document if (editor.ActiveDocument.FullName != NewDoc.FullName) //empty NewDoc is leftover if goal open already, so close it NewDoc.close();
but below work in old version (unsure which version)
if (editor.ActiveDocument != NewDoc) ...
so I must modify many code from “doc1 != doc2” to “doc1.FullName != doc2.FullName”it is incompatible with old version
hihihloParticipantinfo UPDATE:
Narrowing display for both width and height (not noly width !!)hihihloParticipantv21.7.912 & v21.7.913 can only show text with narrowing window width,
them can NOT use all screen width as old version,hihihloParticipant21.1.908 still have same bug :
1. suppose I open three files (a.txt, b.txt, c.txt) in EME
2. close b.txt
3. now file-tabs toolbar still exist a tab (which title is “b.txt”)
file-tabs-barhihihloParticipant21.1.908 still have same bug :
1. suppose I open three files (a.txt, b.txt, c.txt) in EME
2. close b.txt
3. now file-tabs toolbar still exist a tab (which title is “b.txt”)
hihihloParticipantabout file-tabs bug :
I uninstall EME, install v21.0.905, that version work correct.uncheck “include beta versions” in update checker setting,
then auto update to v21.1.2 —> this version has the file-tabs bug
(until v21.1.908, the bug exist still)hihihloParticipant21.1.908 still have same bug :
1. suppose I open three files (a.txt, b.txt, c.txt) in EME
2. close b.txt
3. now file-tabs toolbar still exist three tabs (include tab “b.txt” !!)hihihloParticipant21.1.908 still have same bug :
1. suppose I open three files (a.txt, b.txt, c.txt) in EME
2. close b.txt
3. now file-tabs toolbar still exist a tab (which title is “b.txt”)
hihihloParticipantwhen close a file/doc, the file-tab-bar (or named file-list / doc-list) still keep that tab !!
after that, file name of file-tab is no longer correct.
this seem happen in version 21.1.906 and 21.1.907hihihloParticipantthis bug is fixed, now it work fine !
(my version is 20.9.902)
thanks ~hihihloParticipant1. right click to popup menu in outline bar
2. choose command : collapse all
3. that command do nothingbut now I found it work if outline guide enabled (as you said)
I had not noticed it (outline guide), sorry~hihihloParticipant<< can’t found some text >>
* environment :
v19.8.4 pro 64-bit
find mode = “None” (not Regular / Escape / Number Range)
uncheck both “match case” & “match whole word”
* test text (to be search) :
\Bkup\VM\Dri\Projects\Un\Plugin
* issue :
if find “\P” or “\U” ==> can NOT found anything !!!
if find “\p” or “\u” ==> OKhihihloParticipantUPDATE Report : If I turn on “outline guide”, then the outline commands work again.
but background color of outline panel still can’t change.hihihloParticipantThe outline commands (ex: collapse line, expand line, previous node, next node … bind to hotkey) are not effect since v14.4.x !!
And outline background color always is white, even I set to other color already.hihihloParticipantIf I active outline plugin, it need over serval minutes !
If I turn off this plugin, it take just 48 seconds on my machine.test same text file on my poor machin :
RJ TextEd v6.82 complete instant
PsPad v4.5.5 take 6 secCound you test more lines (ex: 900000) to highlight the issue ?
I look forward to future optimization version,
thank you.hihihloParticipantHi Yutaka :
I post a report at
http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=1808&forum=12
(I think that I am post at wrong place, but I can’t remove that subject. I’m awfully sorry for it ….)hihihloParticipantby the way :
if Emeditor can auto remember selection,
then don’t need disable “incremental search” feature of find/replace dialog in Emeditor v11.
thank you consider this in future versions ^^June 18, 2011 at 3:02 am in reply to: Is it a bug ? ExecuteCommandByID have no effect for "Select this macro" and "Run macro" command. #9431hihihloParticipantin last post question has below line :
====> var sFn = “c:tmpee.jsee”;
In fact, the contents of “tmpee.jsee” is like below :
====> #include “aa.jsee”
just one line !!
It is generation dynamic,
decide by user input via popup menu.maybe I can use shell.SendKeys()
to run another macro (tmpee.jsee) from within my macro.Thanks your reply very much.
hihihloParticipantNo, enable/disable the word is no help !
because I want highlight the word already highlighted sometimes.for example_1:
sometimes I want to see where the macro document appear “return” word temporary.
So I want all “return” word have become Special-Highlight for easy read the source code,
but the word “return” has its highlight color already (so enable/disable the word is no help)
and should keep the syntax color setting in *.jess files.for example_2:
sometimes I want highlight some variable (ex: “MyVari”) temporary.What I want is look like the highlight result of find command,
but I need highlight more than one words synchronous, like example_1 + example_2.
(those two words have different colors and can toggle Special-Highlight conveniences and individually)=====>
Can you add “Highlight(3)” or “Highlight(user)” tab when press Alt+Enter ?
I wish those highlight words (ex “return” and “MyVari”) NOT mix in syntax highlight setting.
Many program languages (ex *.cpp, *.jsee, …) have very long highlight list setting.
If mix user words and language words, it will be not conveniences and maybe kill language words mindless.
Maybe it is document.Config.Highlight.UserList, and color more priority than document.Config.Highlight.List !(I have a picture show highlight-plugin of jEdit, its list NOT mix in language words list,
but I don’t know how to attach image file)Thank you for add toggle feature in future versions !
:-) - AuthorPosts