Forum Replies Created
- AuthorPosts
Yutaka Emura
Keymastercptraddict wrote:
For what I have seen there is a way to change the color of the blinking cursor that shows your current position. I have been trying to find the correct category in the “Display” tab but none of the categories seem to have the desired effect. Does anyone know what category corresponds to the blinking cursor?Unfortunately, there is no way to change the color of the linking cursor only. The cursor color is an inverted color of the background. You might want to change the color of the current line, or display horizontal/vertical lines.
Yutaka Emura
Keymastertranglos wrote:
Very often I need to ensure that a string does not exceed a particular length.To this end it would be very helpful if EmEditor would display current selection length in the status bar, next to the cursor position field. I hoped this option would already be available in Customize -> Status, but it isn’t. Could this be added, please?
Use the following macro:
SelLength.jsee:
status = "Selection: " + document.selection.Text.length + " characters.";
and run this macro when you want to find the selection length. Or, even better, set this macro run at the event of selection changed. To do this, select Customize on the Macros menu, in the My Macros tab, select this macro (SelLength.jsee) in the list, check Runs at Events, click Events button, and check Selection Changed.
Yutaka Emura
KeymasterTheXman wrote:
How about adding a “Save As…” toolbar button also? :-)Use the following macro, and you can add this macro to anywhere in the toolbars.
SaveAs.jsee:
#icon="any icon file"
#title = ""
#tooltip = "Save As"
editor.ExecuteCommandByID(4100);
Yutaka Emura
Keymasterwhileloop wrote:
I suggest add the following menu commands:
[Edit]
Enable Virtual Space
[View]
Show Ruler
Show Line NumberAlso I suggest add an option to enable virtual space for column select. I requre this to keep alignment of columns (when not every line of the same length). Changing the option to allow this, and then changing back everytime is inconvenient.
Use following macros, and you can add these macros to anywhere in the menu.
TogleVirtualSpace.jsee:
cfg = document.Config;
cfg.General.VirtualSpace = !cfg.General.VirtualSpace;
cfg.Save();
ToggleRuler.jsee:
cfg = document.Config;
cfg.General.ShowRuler = !cfg.General.ShowRuler;
cfg.Save();
ToggleLineNumbers.jsee:
cfg = document.Config;
cfg.General.ShowLineNumbers = !cfg.General.ShowLineNumbers;
cfg.Save();
Yutaka Emura
Keymasterwhileloop wrote:
When open a file with unknown encoding by context menu, EmEditor display the following dialog.I suggest add option to change encoding in this dialog.
I can’t see the image. Please email me at [email protected].
Yutaka Emura
KeymasterI cannot reproduce your problem of Method 1 in Replace dialog. What macro do you use? Please let me know which version of EmEditor and OS you are using. Please email me a sample file and a sample macro so that I can reproduce your problem. Please make your sample macro small enough to use as a test case. Thanks! [email protected]
WindBell wrote:
I want to merge all line to make each line end with “]” or “>” or “=”So I use
Regular Expression
Method 1:
find “([^]=>])n”
then replace with “1 “Method 2:
find (?])n ( Search every n without a “]” or “>” or “=”
then replace with nothingBoth works well under Find/Replace dialog .
But Method 1
Delete a character before “n” and generate a strange character :Is it a bug or my fault in writing this script ?
Yutaka Emura
Keymasteralexq wrote:
Thanks for your prog and efforts!
the only problem I have is opening multiple files
from the command line using wildcards, like in this threadI need to apply macro for multiple .htm files.
my command line is:
“D:EmEditorEmEditor.exe” /mf “C:CORcor.jsee” “C:COR*.htm”it’s very frustrating to get every time “invalid path” reply.
command line options don’t work:(((p.s. one file is opened well, but I have 5K files to process.
Please, make wildcards work :-)
I might consider that in future. However, if you have many files to open, I would recommend you to use a macro instead of command line. I believe macros can do very well in your case.
Yutaka Emura
KeymasterCriss wrote:
The text is flickering, flashes, when entering text and the
outline is displayed and “outline as guide” is enabled.This ist still the case with version 7.00!
previous posts:
http://www.emeditor.com/modules/newbb/viewtopic.php?viewmode=flat&topic_id=197&forum=8
http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=471&forum=12&post_id=1321#forumpost1321Furthermore the outline plugin should be improved regarding this:
– you should be able to collapse text without displaying the outline as guide
– the status of collapse should be saved with workspaceThanks
I cannot reproduce your flickering problem. What OS do you use? Does the problem still exist if you disable “outline as guide”? Any particular files? If you have a sample text file that can reproduce the problem, please email me at [email protected]
Yutaka Emura
Keymastergargie wrote:
Is there a way to manually clear the list of recently opened documents in the File menu? Could this be incorporated into the Properties for All Configurations so that the user can specify how many recently opened files (zero or more) EmEditor should remember? I understand this is a common feature in other text editors.Yes. Tools menu, Customize, History tab, and Clear History button.
Yutaka Emura
Keymastermhwlng wrote:
If I have a lot of files open in the ‘open documents’ plugin and I click on the ‘x’ on the rightSometimes, the current document doesn’t close, but the ‘open documents’ plugin window closes instead
Marcel
Can you please send me screenshot? [email protected]
Thanks!Yutaka Emura
Keymastergarret wrote:
Oh, I see some of this info down on the status bar.It would be nice to have an official File|Properties… dialog, though.
Thanks, and Happy New Year.
Garret
Not in EmEditor core. In the Explorer plug-in, you can select Properties from the context menu.
Yutaka Emura
Keymastergan wrote:
Yutaka wrote:
Hi, current word delimiters when double-clicking are not customizable. I will take this one of feature enhancement in future versions. And you are right, you cannot tile or cascade within one group. You will have to create a new group to do this. An easiest way is to select “New Horizontal Gruop” or “New Vertical Group” command in the Window menu or in the tab menu. There used to be a synchronized scrolling plug-in created by a user, but I am not sure if it still works. I might create a new plug-in for this purpose, or add this feature in future versions. Thanks!Thank you for your prompt reply Yutaka. I’ll hope the customizable word delimiters is something that will be included in the close future. I’ll see if i find the synchronized scrolling plug-in, but it’s not something i use a lot so not a big problem.
I also got one other question. It seems like it’s not possible to add the “Save as” button to the toolbar. Is this correct or is it only me that cannot find out how to do this? I use the trial of version 7.00.
Thanks in advance
ganThere is no standard icon for Save As. Intead use the following macro (JavaScript), and place this macro button to anywhere you would like. “icon file name” should be the full path and name of any files including icon resource you would like to display.
saveas.jsee
#icon = "icon file name"
#title = ""
#tooltip = "Save As"
editor.ExecuteCommandByID(4100);
Yutaka Emura
Keymastergarret wrote:
That seems to have fixed it. Thanks.But I would expect the Help|About dialog to indicate the RC1 release—what if I forget what version I’m using and want to check the About box?
I forgot to check the About dialog box version number. I am sorry for confusion. Just make sure the timestamp of emeditor.exe is updated. It will be fixed on the next release.
December 30, 2007 at 7:42 am in reply to: Bug in "Find/Replace in Files…" using regular expressions #5240Yutaka Emura
Keymasterptlomholt wrote:
Something strange is going on with Find/Replace in Files when using some regular expressions.
To reproduce create a file, say file0.txt, with the following contents:
ABC
DEF
GHI
(note the leading space on each line) and save it to an empty folder. Now do “Find in Files…” using the following regular expression s*DEF, check the “Use Regular Expressions” checkbox, File Types: *.txt and select the folder with the file in.The search result is:
F:workzoneEmEditorfile0.txt(1): ABC
which obviously is incorrect! When doing “Replace in Files…” instead it _does_ replace the correct match (good).However using DEFn as the search expression doesn’t find anything and also doesn’t replace anything!
When doing the same Search or Replace using the simple Find/Replace command, everything works fine.
This was using the 7.0 Pro RTW build, both x86 and x64 versions exhibit this behavior
Any ideas?
Regards
-PoulF:workzoneEmEditorfile0.txt(1): ABC
is correct because s* matches the new line characters “rn” between ABC and DEF, and the Find in Files result only shows the first line of the matched string.
You will need to use
DEFrn
to match a new line after DEF, or check “Use escape sequence” instead of “Use regular expressions”. I know this is a little strange specification, but see http://www.emeditor.com/help/howto/search/search_nl.htm
for details.Yutaka Emura
Keymastergan wrote:
Hello,I work a lot with text files and tried a lot of text editors, but only found one that i really like. The one that i been using now for some time is pretty good, but it got some annoying issues so i been looking for another text editor. I haven’t really tried emeditor before i downloaded a trial today and it seems to be pretty good, but there is a couple of things i cannot figure out and hope someone can help me out.
The first thing is when i doubleclick to select a word it seems to work fine, but a lot of the textfiles i got contains IP address and i cannot find any settings to make the doubleclick include the dot. For example when i doubleclick 10.1.1.1 it should select the whole IP address and not only the number i doubleclick on. In this case if i double click on 10 only 10 is selected and not the whole IP address (10.1.1.1). Is there any way to set what the delimiters should be for the doubleclick to select some text?
I also wonder about the tile feature. I would like to be able to tile two textfiles vertically and have synchronized scrolling, but within a single instance/group of emeditor. It seems like this is not possible since tile will create a separate instance (or group) for the textfiles. Also i cannot see any option for the synchronized scrolling. Is this possible to do?
-gan-
Hi, current word delimiters when double-clicking are not customizable. I will take this one of feature enhancement in future versions. And you are right, you cannot tile or cascade within one group. You will have to create a new group to do this. An easiest way is to select “New Horizontal Gruop” or “New Vertical Group” command in the Window menu or in the tab menu. There used to be a synchronized scrolling plug-in created by a user, but I am not sure if it still works. I might create a new plug-in for this purpose, or add this feature in future versions. Thanks!
Yutaka Emura
Keymasterchabulier wrote:
Well, I try to use it locate a string.
1) I run this, it works well.
^01.{0,200}
2) Then I use the following one, it doesn’t work for me.
(?<=^01.{0,200}).{15}
3) I tried to use the following one, it works.
(?<=^01.{200,200}).{15}I’m wondering if it’s a bug.
I don’t believe it is a bug. It is the specification of the regular expression EmEditor uses. The pattern in (?<=pattern) does not support vaiable length.
Yutaka Emura
KeymasterThis bug has been fixed on 7.00.1 RC 1.
Thanks!Yutaka Emura
KeymasterI might upload the beta version of the next minor version soon (possibly in January 2008). Please test the beta version (or RC version) before I release the final version. Thanks!
Yutaka Emura
Keymastergarret wrote:
I’m running v. 7.00 on a 1600×1200 monitor in Courier New 8pt font, wrapping by window (Ctrl+3). I enter the following text:“asdkf kljashf lkjsahf lkjsahf lkjashf lkjsdahf lkjsdahf lkjsdaf lkjsadf lkjsadhf lkjsahf lkjsaf lkjsadhf lkjsadhf lkjsadhf lkjsdhflkjsdhfljsdhfskadjfh lsdakjhf lskjdhf lksjdahf lksadjhf lksajdhf lksjadhf lksjadhf kljsadhf lkjsdahflkjsdahf lksdjahf lkjsdahf lkjsadhf kljsdf”
At this resolution and font, the one logical line wraps to show “kljsdf” on the second physical line. I position the cursor after the last character in “kljsdf”, and press “Home”. The cursor appears at the end of the first physical line, after “lkjsadhf “. (Expected: the cursor should appear at the beginning of the second physical line, before “kljsdf”.)
With the cursor still at the end of the first physical line, I press the up arrow key. The cursor now appears at the beginning of the second physical line, before “kljsdf”. (Expected: the cursor should not have moved. Even if the cursor had been where it should have been, at the beginning of the second physical line, it should have went to the beginning of the first physical line.)
With the cursor at the beginning of the second physical line, before “kljsdf”, I press the up arrow again. The cursor does not move. (Expected: the cursor should move up to the beginning of the first physical line.)
I already realize this issue, and have already fixed that in my code. Thanks!
Yutaka Emura
KeymasterFlint wrote:
Two and a half years ago I obtained the academic/technical license for EmEditor as a software writer. Now I needed to find some details about this license, but could not find any information except the following page:
http://www.emurasoft.com/academic/
where it is said onlyIf you have already received an academic/technical license, you can still use that license as long as you keep it.
Does it mean that this license is subject to the usual license agreement (eula_e.rtf file in the EmEditor directory) with no additional restrictions (of course, except for that I may use it only as long as I remain software writer)?
Right. If you have further questions, please email me.
Yutaka Emura
KeymasterPassiday wrote:
Hello,Is it possible to develop EmEditor plugin in .NET?
It needs native programming.
Yutaka Emura
KeymasterPassiday wrote:
I did some experimenting with the new OutputBar features, namely, outputting some text to it from macro. I discovered, that tag jumps actually work, if I use keyboard shortcut (F10). However, I don’t see any way how to enable the tag highlighting so that they could be clicked with mouse.Actually, is the effect of the code below possible to do via normal menus and dialogs?
> document.HighlightTag = true;I’d also like to see tags that jump not only to the specified line, but also to the specified column.
Actually, the Output bar does not highlight anything, so document.HighlightTag = true; macro code does not do anything for Output bar. You can use either F10 or double-clicking the respective line. The specified column is not possible at current version. It might be considered in future versions.
Yutaka Emura
Keymasterjaydee77 wrote:
How to use macro to create new window with empty file?editor.NewFile();
Yutaka Emura
Keymasterletmein7 wrote:
Thank you for your response. I tried your suggestion but it does not work like way i really want because i don’t want it to remember the last folder when it should always remember the ‘open default directory’.‘Remember the last folder’ is inconvenience because it is always different.
In ultraedit32, it has ‘open default directory’ and ‘save default directory’ option and what it means is if you open a file from any location in your computer, it always points to your ‘open default directory’ or ‘save default directory’.
I hope you understand what i’m saying. It’s my suggestion. Thank you.
In EmEditor, I have not implemented the default directory option within EmEditor, because Windows has its ability to set the “current directory” for each process. Did you try the second method:
… Alternatively, display the Properties for the EmEditor shortcut that you usually use to run EmEditor, and add /cd in the Target text box. For instance, if the install folder of EmEditor is “C:Program FilesEmEditor”, enter “C:Program FilesEmEditoremeditor.exe” /cd. Moreover, fill the Start in text box as a folder you want to open from.
Yutaka Emura
KeymasterRipThorn wrote:
Hello
Would it be possible to have a search option that would:
# List Lines Containing String opens non-modal Find dialog
# Highlight all found occurrences of string
# Count number of occurrences of stringespecially the first one as i have to search thru very big log files and i would like to search find and display all the lines that contain the given search word. That way i’m able to see things i need to see
thank you
# List Lines Containing String opens non-modal Find dialog
You can use “Find in Files”# Highlight all found occurrences of string
By default, all found occurrences are highlighted.# Count number of occurrences of string
For this one, you have to write a macro, or use “Replace” to replace all with a dummy string, and you can see the count in the status bar, and Undo.- AuthorPosts