Forum Replies Created
- AuthorPosts
Yutaka Emura
Keymasterbanita wrote:
When I press shortcut one time I open FindBar. Find something, editing… and when I press shortcut ones more time I move focus on FindBar but I cant close it. I press shortcut one more time and more… focus stay on FinBar and Findbar is still open.I have one more question. Is there any way to move FindBar to bottom position on main window?
sory for my english.
You cannot move the FindBar to the bottom, unfortunately.
Yutaka Emura
Keymasterbanita wrote:
I add shortcut (alt+ctrl+i)to open FindBar. How can I close this plugin when I dont need it any more? I must click on icon or click in menu. I wont close this by other or the same shortcut. Is it possibly?sory for my bad english.
You can press the shortcut twice to hide the FindBar. Please also read http://www.emeditor.com/modules/xoopsfaq/index.php?cat_id=12#q100
Yutaka Emura
Keymasterrusskinch wrote:
I am trying to use “replace in files” to remove text between two known strings. The two strings are on different lines. Essentially I want to create a macro that will find the first string and select it and everything after that up to and including the second string.Example:
<!DOCTYPE …
delete this
delete this
… End of String –>I’m slightly over my head in trying to figure out how to select all the text after the first string until the second string so that I can delete it.
I’m trying to remove unneeded text from about 30 files in one shot.
Thanks for your help.
What number did you set in the Additional Lines to Search for Regular Expressions in the Search tab of Customize dialog box? If you set 2 or 3, then you should be able to remove two or three lines of text with a simple regular expression.
Yutaka Emura
Keymasterbanita wrote:
How can I hide tabs? I wont see my open files only in ‘Open Documents’ panel. It is possibly?sory for my bad english.
You can select Enable Tabs in the Window menu, but then you will get all windows separately.
Yutaka Emura
Keymasterktpaul wrote:
HI,
can I count words with regular expression in Word Count plugin that is outside Basic Multilingual Plane , for example , CJK Unified Ideographs Extension B 20000 – 2A6DFthanks!
It doesn’t work. Unfortunately, regular expression engine might not accept ExtB range.
Yutaka Emura
Keymasternut99 wrote:
Can EmEditor give an option that allows startup without loading any plugin? It’s better loading an plugin when we want to use it.You can disable all plug-ins from the Customize Plug-ins dialog box (Tools > Plug-ins > Customize Plug-ins).
April 25, 2009 at 2:10 am in reply to: Explorer plug-in does not show TortoiseSVN icon overlays #7198Yutaka Emura
Keymasterbrianary wrote:
Microsoft’s Team Foundation Server Source Control now offers Explorer integration via the VSTS 2008 Power Tools. Those overlays are similar in function (if not appearance) to TortoiseSVN, and do not currently appear in EmEditor either.Overlay now supported in v9.00 alpha 14. Thanks!
Yutaka Emura
Keymasterowilsky wrote:
2. You can export settings as INI files, and then you can import at a different machine. When exported as INI files, a macro path become the relative path. Does this solve your issue?
Not really, because in the exported INI file there is still the absolute path. If I import that file on another computer with another user name, I have wrong paths (I see the wrong paths in Macros/Customize at the bottom label).
I see two possible solutions:
1.
Use some kind of paths relative to home folder (my documents) like I suggested above2.
Implement some kind of variable like \%my documents\% which can be used in exported reg files and ini files. These files can then be imported on the target computer easily.Am I the only one working for a company and developing Macros for EmEditor and having the problem to deploy these macros to my users?
Oliver
The next alpha version of v9 will save all macro files as relative path from “My Macros” folder. When you run the next version, please bring up “Customize Macros” dialog, and then click OK. Then you can copy the registry into another PC.
Thanks!Yutaka Emura
Keymastergning wrote:
Well, I did find the Insert Spaces plugin, but that’s clumsy to use and only goes inward, not outward. Better than nothin’…This is a macro to change the tab/indent length. I hope this helps.
cfg = document.Config;
do {
n = prompt( "Enter new indent/tab length in characters:", cfg.Indent.TabColumns );
} while( n <= 0 || n > 16 );
cfg.Indent.IndentColumns = cfg.Indent.TabColumns = n;
cfg.Save();
Yutaka Emura
Keymasterwebern wrote:
Fist of all I have to say sorry, because it seems I was wrong pointing out the IntelliPoint explicitly.
Removing IntelliPoint form the memory has no effect. But the MS mouse driver still there, of course.
And I was absolutely confused in this situation because IntelliPoint is really affecting such software as ArchiCAD or even Solitaire game at list on my WinXP machine. My english isn’t so good to describe how IntelliPoint affecting mentioned software.But at least two of my friends from the russian speaking forums notified me that they have reproduced the same effects in EE 8/9.
We have found that there are two conditions leading to this effect:
1. The Vertical Selection Block must be controlled only by keyboard during testing!
2. It seems this effect may be caused by proportional fonts while monospaced ones (Courier, Consolas) do not affect this.
— Thanks in advance —No problem. I fixed this issue in v9 alpha 14. Thanks!
Yutaka Emura
Keymasterwebern wrote:
updated: 4/23/2009
Now I have more info on this issue.
This started to happen since EE 8.x (on any OS).
After some investigation i found that this is caused by MS IntelliPoint software (any version).
The artifacts start to appear when starting to collapse the expanded vertical selection with the left arrow key.
I can see that IntelliPoint constantly updates the screen area and this is visually recognizable at least on my WinXP but not on my Vista(x64).
Perhaps, the artifacts may appear because EE does not catch the moment when IntelliPoint starts to update the screen area.
I hope it will help you to find a solution for this issue in the future.
If you need more details, just let me know.
— Thanks in advance –[/font][/size]I cannot reproduce this issue, but I will try to fix it in v9. Can you find any specific settings you set in the IntelliPoint software that can reproduce this issue?
Yutaka Emura
Keymasterowilsky wrote:
Hi,I have two requests for EmEditor 9.00:
1.
For macros we have a trigger named “Before saving”. Can we also have one “After saving”?
Reason is that we need to call a macro that determines which configuration to load with document.ConfigName based on the filename, not on the file extension.
And before saving there is no file name ;-)2.
In “HKEY_CURRENT_USERSoftwareEmSoftEmEditor v3MacrosMacro0” there is the full path to the macro, e.g. C:Documents and SettingsOliverMy DocumentsMy Macrostest.jsee.
This makes deployment of multiple macros to other computers very hard. If you enter a relative file name into registry (e.g. only “test.jsee”), EmEditor looks for test.jsee in “C:Program FilesEmEditor”.
How about changing that so EmEditor looks in the configured macro folder that is stored in HKEY_CURRENT_USERSoftwareEmSoftEmEditor v3CommonMacroFolder ?Thanks for listening,
OliverI might consider 1.
2. You can export settings as INI files, and then you can import at a different machine. When exported as INI files, a macro path become the relative path. Does this solve your issue?
Yutaka Emura
KeymasterNedMaker wrote:
In EmEditor 9 Function Bar it will be corrected?For example, on last button there is no appointed function.
Likely it is necessary to add customization that the user could appoint functions necessary for it itself.
You can customize all keyboard settings in the Help menu > Keyboard Map. However, F12 is used by the Projects plug-in by defaut, so it is not assigned. You can of course change this setting too.
April 22, 2009 at 6:50 pm in reply to: Not a critical bug with "Vertical Selection Editing mode" #7186Yutaka Emura
Keymasterwebern wrote:
Not a critical bug with “Vertical Selection Editing mode” when it is applied to a single line.
To reproduce:
1. Create any file then fill it with a line of some words.
2. Move the cursor to any place at the line.
3. Toggle column selection mode.
4. Expand the selection with the right/left arrow key by any number of characters.
5. Now try to type in some character. This action just deletes the selection instead of displaying a typed character.Vista(x64), EE 9.00alpha12(x64).
I fixed this issue. Can you please try this new build even though it is not v9? You will need to uninstall v9 first before you can install this v8.05 RC4:
http://www.emeditor.com/pub/emed805rc4epx.msi (32-bit)
http://www.emeditor.com/pub/emed805rc4ep64.msi (64-bit)Thank you!
April 22, 2009 at 5:31 am in reply to: EmEditor crashes when Find&Replace for column selection #7180Yutaka Emura
KeymasterPigletEE wrote:
Ok.
It works but the problem still here with some cases.
If the low left corner of the selection is on the text and the low right corner on “virtual space” and Find&Replace operation MUST find and replace at least one time. You may see that the selection is changed.I cannot reproduce this case. Can you email me at [email protected] a screenshot or a sample file to explain the details? Thanks!
Yutaka Emura
KeymasterI created alpha 13 for you. This version includes a new shellcode format:
`- “utility.exe” arguments…
stdin…`The second and following lines will be STDIN to the utility.exe.
For instance, if you want to tidy the selected HTML, you would use:
`- “Tidy.exe” -f ${Dir}tidy_error.txt -wrap 0 –tab-size ${TabSize} –indent-spaces ${TabSize} –indent yes –tidy-mark no
${SelText}
`Please download
http://www.emeditor.com/pub/emed900a13epx.msi (English, 32-bit)
http://www.emeditor.com/pub/emed900a13ep64.msi (English, 64-bit)April 21, 2009 at 9:16 pm in reply to: EmEditor crashes when Find&Replace for column selection #7175Yutaka Emura
KeymasterPigletEE wrote:
Ooops. Another one.
Find&Replace works but … The right margin of selection moves to the end of the last line in the column selection after find&replace operation.I fixed and built for you:
http://www.emeditor.com/pub/emed805rc3epx.msi
Can you please try and see it is fixed?
Thank you!Yutaka Emura
Keymasternoespam wrote:
AWESOME! I have been using a combination of EmEditor and another editor with Textmate-like snippets. That other editor never felt like a lightweight text editor. Can we invoke command line utilities and capture STDOUT and STDERR to replace entire buffer or selection? I see RubyScript support, but would prefer to use the ruby + rubygems installed on my system.Thanks for your comments. I will improve the Shellcode specification to include your suggestions. The shellcode of the current version in the form of `#cmd …` can replace the selection with STDOUT and STDERR, but I am aware that it might not work as you expect. I will make sure the next versions will include greater support for such utilities.
If you would like, you are welcome to email me your detailed suggestions and samples at [email protected] to help me develop more complete support for such utilities and Ruby + Rubygems.
Yutaka Emura
Keymasteryaot wrote:
To: Yutaka San
Cc: All(1) We know that the backslash has two display style, one is “\”, the other one is “¥”
(2) On a machine equipped by Japanese OS and IE7, I install the software Emeditor, then we create following html file-~日 then save as “EUC-JP” encoding;
(3) We click the “WebPreview” Plug-ins button, then in WebPreview window, it displays as “-~¥日”, but if I just delete “-” or just delete “~” or just delete “日”, the backslash changes to be displayed as “\”, how does’t this happen? Please help me; Thank you very much!PS: Maybe this is not the problem of Emeditor, but I still hope to get the help from you; Thank you very much!
I reproduced your issue, and it is very strange. It is not a bug of EmEditor as you know, but I think it is just a display issue in Internet Explorer. If you want to show a yen mark all the time, you might want to select a true Japanese font such as “MS Gothic” in your
tag. Then you will see ¥ all the time. Yutaka Emura
Keymaster“ERRORS Root Folder: D:test” does not really mean an error.
In your DoSomething( sPath ) function, you didn’t even use sPath parameter passed to the function.
Yutaka Emura
KeymasterThis is my sample to check if
and matches in all HTML files in a folder (searches the folder recursively). You would of course need to modify the root folder, the contents of DoSomething() function, and the file extension to search.
sRootDir = "E:help..."; // root folder
editor.NewFile();
var docResult = editor.ActiveDocument;
docResult.writeln( "ERRORS Root Folder: " + sRootDir );
Redraw = false;
var nTotalFiles = EnumerateFolder( sRootDir );
Redraw = true;
alert( "Finished successfully. Total of " + nTotalFiles + " files processed." );
function EnumerateFolder( sFolder )
{
var nTotal = 0;
var fso, f, fc, s;
fso = new ActiveXObject("Scripting.FileSystemObject");
f = fso.GetFolder(sFolder);
fc = new Enumerator(f.files);
for (; !fc.atEnd(); fc.moveNext())
{
sItem = String( fc.item() );
nLen = sItem.length;
if( sItem.indexOf( "_" ) == -1 && sItem.substr( nLen - 4 ) == ".htm" ){ // make sure file or folder does not begin with _ and the file extension is .htm.
DoSomething( sItem );
nTotal++;
}
}
fc = new Enumerator(f.SubFolders);
s = "";
for (; !fc.atEnd(); fc.moveNext())
{
sItem = String( fc.item() );
nLen = sItem.length;
if( sItem.indexOf( "_" ) == -1 ){ // make sure folder name does not begin with _
nTotal += EnumerateFolder( sItem );
}
}
return nTotal;
}
function DoSomething( sPath )
{
var y = 0;
editor.OpenFile( sPath, 0, eeOpenAllowNewWindow );
document.selection.Find( "(?<=<title>).+?(?=</title>)", eeFindNext | eeFindAround | eeFindReplaceRegExp | eeFindReplaceQuiet );
sTitle = document.selection.Text;
if( sTitle.length != 0 ){
y = document.selection.GetTopPointY( eePosLogical );
}
else {
y = document.selection.GetActivePointY( eePosLogical );
}
document.selection.Find( "(?<=<h2>).+?(?=</h2>)", eeFindNext | eeFindAround | eeFindReplaceRegExp | eeFindReplaceQuiet );
sH = document.selection.Text;
document.close();
if( sH.substr( 0, 3 ) == "Q. " ){
sH = sH.substr( 3 );
}
if( sTitle.length == 0 || sH.length == 0 || sTitle.indexOf( sH ) == -1 ){
docResult.Activate();
document.writeln( "" + sPath + "(" + y+1 + "):" );
document.writeln( "t<title> " + sTitle );
document.writeln( "t<h2> " + sH );
document.writeln( "" );
}
}
Yutaka Emura
KeymasterThat’s good to know! Thanks!
Yutaka Emura
KeymasterThanks for quick response. I made a special built for you. This build ignores blank lines when showing indent guides.
Please try and let me know if you still have any comments.http://www.emeditor.com/pub/emed805rc2epx.msi (32-bit)
Thank you!
Yutaka Emura
KeymasterYutaka wrote:
Flint wrote:
There are several issues I have with Indent Guides in 8.03 (they were also present in earlier versions, but I had completely no time to report the problem, sorry).1. In some cases the guides are drawn incompletely.
2. Even when the guides are drawn, they are not “stable”: sometimes they are not redrawn by EE when I e.g. scroll the text, but when I make EE redraw its window completely (e.g. by switching to another application and back), the guides are back.
I recorded reproducing both issues on the video:
• Video/EXE (player/codec included)
• Video/AVI (needs MSU Screen Capture Lossless Codec)I didn’t try to correct this issue in minor updates because it is not a critical issue. I will try to correct it in v9. Thank you.
This bug has been corrected in v8.05 RC1. Please try it and let me know if you have any further issues. Thanks!
April 20, 2009 at 6:37 pm in reply to: EmEditor crashes when Find&Replace for column selection #7158Yutaka Emura
KeymasterPigletEE wrote:
I am sorry. I have
Windows XP sp3 32bit, EmEditor 8.04. Only Use Regular Expression and In the selection Only are checked. SQL configuration with Enable Virtual Space, Show Ruler and Show Line Number are checked.I reproduced this issue. I will release v8.05 RC 1 shortly, so please try it and see the bug is fixed. Thank you!
- AuthorPosts