Forum Replies Created
- AuthorPosts
- zhouzh2Participant
Yutaka wrote:
Hello Deipotent,Thank you for explaining. I am beginning to understand your task, but the question is how many users would use this feature. Even adding an extra button “Extract All” in the Find/Replace dialog will certainly annoy some users. I want the user interface as simple as possible.
I would also like to hear from other users about this topic.
Thanks!
I second “[ ] Use Output Bar” option.
Many uses emeditor as a text reader, for them, bookmarks should be… well, bookmarks.
So I suggest emeditor to replace the “bookmark all” in Find dialoag with “use output bar”, and from output bar the user will be allowed to bookmark all lines, extract all matching words or lines or copy all,etc.
by doing this, the user is not forced to use bookmarks as a temp processing tool if he doesn’t want to, but those who do can still utilize that.
What do you think?zhouzh2ParticipantI got it, thanks a lot! :-D
zhouzh2ParticipantIn this verion, the Find&Replace dialog can’t be resized vertical, therefore one can’t do multiline Find&Replace, am I missed something?
zhouzh2Participantand if you add a word to multiple selections by ctrl-clicking, the status bar char/line count is not updated either, this is quite comfusing. :-D
zhouzh2ParticipantBeta 5 still has this issue. doesn’t know if this is by design…
how to reproduce:
1. Do a vertical selection.
2. SHIFT+ARROWSHIFT+F8 work as they should.
3. type something. the selection is then be replaced with the text you input. this is fine.
4. SHIFT+ARROW has no effect afterwards. the cursor moves, but selection doesn’t, and text will only append to the last portion of the selection, no mater where your cursor is.
5. SHIFT+F8 changes the cursor from downright corner to upperleft corner, which is correct.
But SHIFT+F8 again changes the cursor from upperleft to downleft, instead of returning to downright.
this is also true with multiple selection.zhouzh2ParticipantAlso…
Is there any ways to use vertical selection as well as multiple selection?
i.e. holding ctrl+alt and drag mouse to add a vertical selection to multiple selections? :-)zhouzh2ParticipantIn vertical/multiple selection mode, SHIFT+ARROWSHIFT+F8 does not work, the cursor moves, but text always append to the last portion of the selection.
zhouzh2ParticipantIt is currently not possible, but I believe Yutaka said in other posts that he had being working on that and maybe someday we will get this function.
Meanwhile, you can install Zen-coding on Emeditor, which allows you to use ctrl+[ to go to macting pair, or Ctrl+Shift+D to balance tag.zhouzh2Participant// ==${1/./=/g}==
// = ${1:Banner} =
// ==${1/./=/g}==
$0zhouzh2ParticipantHi user,
I wrote this macro for you:document.selection.EndOfDocument(false);
endOfDocu = document.selection.GetActivePointY( eePosView );
document.selection.StartOfDocument(false);
document.selection.EndOfLine(false,eeLineView);
currentCursor = document.selection.GetActivePointY( eePosView );
while ( endOfDocu != currentCursor ) {
currentCursor = document.selection.GetActivePointY( eePosView );
numberOfChar = document.selection.GetActivePointX( eePosLogical ) - 1;
document.selection.StartOfLine(false,eeLineView | eeLineHomeText);
document.selection.Text=numberOfChar + ": ";
document.selection.LineDown(false,1);
document.selection.EndOfLine(false,eeLineView);
}
This macro will add numbers which indicate the number of characters of the line to the start of lines.
After that,you can use the “sort” of emeditor.
Than replace “^d+?:s” with NULL to restore orginial line.
Hope it helps. :-)Cheers,
angus.zhouzh2ParticipantI believe non-line comment is already in request.
Before then, you can use the HTML snippets to comment html/xml :-)October 14, 2011 at 3:51 am in reply to: Snippet: Tell me for which command the shortcut is taken #9731zhouzh2ParticipantI second that
zhouzh2Participant+1 for Flint’s proposal.
There is no need to “internally” escape the selected text.
1. when no text selected, Ctrl+F3 finds the next exact word at cursor, so turn off regex and escape sequence, turn on search only word.
2. if text selected, Ctrl+F3 finds the selection, just turn off regex and escape sequence.
3. Ctrl+F will always use the word at cursor or the selected text, with options unchanged. Ctrl+F in 10.0.8 works just fine.
IMHO the current implementation of Ctrl+F3 is not “wrong”, but not “smart” enough :-)August 30, 2010 at 2:00 am in reply to: Bring EE's encoding detection/display to Hex mode side by side view. #8898zhouzh2ParticipantHi Yutaka,
my apologies. I assumed images were enough.
my point is simple. EE currently supports only ASCII view in HEX mode, therefore only ASCII character can be displayed side by side HEX. I suggest an enhancement on this, i.e. to support codepages or unicode view side by side HEX mode.
I posted a screenshot of another editor (Madedit) that I think does well on this to illustrate my idea. As you can see, Madedit displays multi-bytes characters side by side HEX, while in EE same characters were replaced by dots.zhouzh2ParticipantHi owilsky,
you can use a macro to toggle marks. There is a simple marco somewhere in the forum, I couldn’t find it though, I just post it here again.#title = "Marks"
#tooltip = "Toggle Marks ON/OFF"
// Displays or Hides Marks.
myobject = document.Config;
if (myobject.Mark.ShowReturns==0 && myobject.Mark.ShowEOF==0 && myobject.Mark.ShowTabs==0 && myobject.Mark.ShowSpaces==0 && myobject.Mark.ShowDBSpaces==0 && myobject.Mark.CrLfDifferent==0 && myobject.Mark.ShowIndentGuides==0 && myobject.Mark.ShowControlCharacters==0) {
myobject.Mark.ShowReturns="true"; // Returns
myobject.Mark.ShowEOF="true"; // End of File
myobject.Mark.ShowTabs="true"; // Tabs
myobject.Mark.ShowSpaces="true"; // Spaces
myobject.Mark.ShowDBSpaces="true"; // Wide Spaces
myobject.Mark.CrLfDifferent="true"; // CR and LF with Different Marks
myobject.Mark.ShowIndentGuides="true"; // Indent Guides
myobject.Mark.ShowControlCharacters="true"; // Control Characters
}
else {
myobject.Mark.ShowReturns="false"; // Returns
myobject.Mark.ShowEOF="false"; // End of File
myobject.Mark.ShowTabs="false"; // Tabs
myobject.Mark.ShowSpaces="false"; // Spaces
myobject.Mark.ShowDBSpaces="false"; // Wide Spaces
myobject.Mark.CrLfDifferent="false"; // CR and LF with Different Marks
myobject.Mark.ShowIndentGuides="false"; // Indent Guides
myobject.Mark.ShowControlCharacters="false"; // Control Characters
}
myobject.Save();You can comment the marks you don’t want to make the macro suitable to your needs.
zhouzh2ParticipantHi Cirillo,
If I remembered correctly, you can use:#icon='PATH'
to assign icon to a macro.
Additionally, you can use:#title='TITLE'
to assign title to a macro.
Hope this helps.zhouzh2ParticipantNope, I wouldn’t trade speed for this feature.
+1
zhouzh2ParticipantHi Yutaka,
I see. When lines wrap by window, things get complicated.
How about disable this automated feature when wrapping is on? because normally when a user makes a vertical selection when wrapping is on, he is not trying to append each line, since visually his cursor is not all at the end of each line but partly in the middle of some lines.
So, this automated feature will only be enabled when:
1. line wrap is off.
2. vertical selection of zero width at the right of the end of all lines.
what do you think? :-)zhouzh2ParticipantHi Flint,
I know there is a feature like this. But this is a bug. Spreading the cursor to the ends of each line by doing a zero-width selection after each line makes sense, but not when doing a zero-width selection only after the first line:
by doing:a|
|bto get:
a|
b|This, I think, sould be a bug.
zhouzh2ParticipantHi Yutaka,
No I don’t know about that :-? Thanks for the tip, it helps a lot. :-Dthis has to be an option if I change this behavior.
Though I can’t find an option why you should change it …its just that other editors’ numbering feature behaves like that—-numbers inserted is always under a same column. I personally prefer that…our current method is strange (I think), after all why would a user wants to create a huge number of newlines with only sequence numbers in each line?
May 24, 2010 at 12:00 pm in reply to: Will the "Simplified Chinese" version be avaiable for V10? #8507zhouzh2ParticipantHello ToadLoadin,
I don’t think it is appropriate to use languages other than English in this forum.See here.
To translate Emeditor, one just need to download the language source file, open the project with Visual Studio, translate it and then compile.
For pictures, you can try http://tinypic.com/ :-)zhouzh2ParticipantCan’t this already been done by recording a macro of CTRL + F3 and run as event “selection change”?
zhouzh2ParticipantWOW! I don’t know about that before. This feature is awesome :-D
zhouzh2ParticipantHi ToadLoadin,
Thanks a lot for your help. Your macro is a lot elegant than my silly one :-)
Yeah I agree with you that this is strange and might be a bug, not so sure though.
Any other JavaScript expert please come to our rescue :-?
(Yutaka? 8-) )zhouzh2ParticipantHi Yutaka,
Yes I think this is much more better :-) - AuthorPosts