Forum Replies Created
- AuthorPosts
Yutaka Emura
Keymaster3. In Binary mode (ASCII) some control characters are narrower than normal characters, and character aligning becomes incorrect. I’m using Courier New, 10; WinXP SP3 Pro. (screenshot of the cursor position)
It is normal that some characters are narrower than other characters. The cursor position does not need to be the same position at the ruler when fonts are proportional.
Yutaka Emura
Keymasteryongfa365 wrote:
—————————
EmEditor
—————————
An application error has occurred in the plug-in:
Projects.dll
at the function:
OnEvents
nEvent = 0x200000Do you want to disable this plug-in?
—————————
是(Y) 否(N) 取消
—————————I believe this is already addressed by the next beta. Thanks!
Yutaka Emura
Keymasternoman9607 wrote:
How can I make a configuration file by using a macro?
I want to make a config file that has a new list of words to be highlighted.
I would like to generate a macro file from a program language (basic) then start EmEditor with this macro. The idea is to have particular words highlighted like a programming language – syntax but this would just be a temporary list of words.
thanks,
pb
document.ConfigName = "NewName";
should create a new configuration.
Yutaka Emura
Keymasternegedge wrote:
I am very happy to see the box-editing feature (text changes applies to every line selected by the user) in the latest alpha version, but I think the functionality is not good enough. It’s better for the editor to stay in box-editing mode unless user press up or down cursor or escape key; that means backspace should delete one character, not all the whole changes made since box-editing began and ctrl-z should not cancel box-editing mode. The power column mode in Boxer text editor is really good (I think it’s better than ultraedit) and maybe you can take it as an example.In Version 8.00 beta 1, Undo and Backspace will not cancel the Vertical Selection mode (box mode). Thanks!
Yutaka Emura
Keymasterpja wrote:
Hi!
I am writing a number of snippets to try and automate my editing tasks. I would like to be able to insert a snippet and have the cursor positioned in the correct spot to continue typing. For example, a snippet for a HTML blockquote might look like:^
The “^” symbol is where the cursor sits after the snippet has been added. Some editors use place holders like “/^” to achieve this. Is there such a feature in EmEditor? If this is a well known feature then I apologise for wasting people’s time, but I have searched extensively.
If I could also add a supplementary question please; where does EmEditor store the snippets? I have looked in the usual places but nothing stands out.
Regards,
Peter :-?AutoComplete plug-in has the similar feature. I will think about that in the Snippets plug-in as well. Thanks!
Yutaka Emura
Keymasteri_libra wrote:
Thank you,I understand, the regexp should not only match the FILENAME and LINENO,but also match the whole line, then it can work.
^O^
Yes, that is true. Thanks!
Yutaka Emura
KeymasterTry this:
^([w- :.&$\%~!]*?):([0-9]+):.*
See also:
http://www.emeditor.com/help/howto/search/search_regexp_syntax.htmYutaka Emura
Keymaster1. Use EmEditor v7.5 alpha, which allows you to customize the tag format. It will become EmEditor v8 beta shortly.
2. We might work on that in the future.
3. The Outline plug-in does not parse functions currently. We will work on this in the future. Instead, you might want to use the Projects plug-in Symbol feature.
Yutaka Emura
Keymasterthb wrote:
HiSorry to say that if I open a file type in somee text then kill my machine, and restart it and then open emeditor I do not get the chance of recover. Is there a setting somewhere I might have changed.
Best Regards
Thorbjorn
There are no settings. How exactly did you kill your machine? If you pull out the plug of your machine suddenly, there will be no chance for any programs to save the current state.
Yutaka Emura
Keymasterthb wrote:
HiIn Ultraedit if the computer crashes or is turned of while having open files in the editor. The editor offers you the chance to recover those files when editor is restarted. This would be extremely nice to have in the Emeditor.
it might already be there I just haven’t found it yet.
Best Regards
Thorbjorn
That feature is already in EmEditor. You will get this screen when restarting after a crash.
Yutaka Emura
Keymasterzhouzh2 wrote:
Hi,
I just tried to write a macro to do this:document.selection.CharLeft(true,1);
if (document.selection.Text == "{")
{
document.write ( "{}" );
}
if (document.selection.Text == "[)
{
document.write ( []" );
}
if (document.selection.Text == "(")
{
document.write ( "()" );
}
if (document.selection.Text == "'")
{
document.write ( "''" );
}
if (document.selection.Text == """)
{
document.write ( """" );
}
shell.SendKeys( "{LEFT}" );I type “(“, run this macro, and get “()”, with the cursor between “(” and “)” .
I assign the “(” key to this macro, but I get nothing when I typed “(“. Is there a way to let Emeditor insert this hotkey before running this macro ? Or how can a macro get the value of the hotkey it’s assigned with?And anyone got a better idea to do this ?
PS. I also tried to improve this macro. In C, it might be better to insert “{n}” rather than just “{}”, So in short, how to let macros to be more “language specified”?
Thanks!
The following example shows how to find the shortcut for the macro you have just run.
for( nID = 9216; nID <= 9216 + 1023; nID++ ){
str = editor.QueryStringByID( nID );
if( str == ScriptFullName ){
break;
}
}
bFound = false;
list = new Enumerator( document.Config.Keyboard.List );
for( ; !list.atEnd(); list.moveNext() ){
item = list.item();
if( item.Command == nID ){
virtual = item.Flags & eeVirtualKey;
shift = item.Flags & eeShift;
ctrl = item.Flags & eeCtrl;
alt = item.Flags & eeAlt;
str = "The shortcut key = " + item.Key;
if( virtual ){
str += "n Virtual Key";
}
if( shift ){
str += "n with SHIFT";
}
if( ctrl ){
str += "n with CTRL";
}
if( alt ){
str += "n with ALT";
}
alert( str );
bFound = true;
}
}
if( !bFound ) {
alert( "No shortcut found" );
}
Use
document.ConfigName;
to find the current configuration.
Yutaka Emura
KeymasterTheXman wrote:
I created an utility that checks for newer versions of applications that I use. The current version of EmEditor, according to the website, is v7.02. However, if you check the version in the Emeditor.exe file’s header, you will see v7.1.1.0 in all of the version descriptions. The website has no reference to a 7.1.x.x version. It would help if the information on the website at least partially matched any of the version info in the EmEditor.exe file’s header. Is this something that is possible?
—
XavierI realize this. I will be more careful on next versions. Thanks!
Yutaka Emura
Keymasterlucifuge wrote:
I am editing ebooks that have been transferred from one format to another. The problem being that alot of the sentences have been broken during the transfer. I have alot of them that have a new line and three spaces where they should not be. IE:
He affixed the gleaming medal to his breastplate and,
reaching once more within the box, withdrew a green
disc inlaid with golden filigree.I need to clean this up. Remove the three spaces and return them to one line with the proper spacing in between.
So if someone could help me out by regex in finding three spaces with a lower case letter and deleting two spaces and the paragraph line it would be nice.
Luci Fuge’
OK. Been playing a bit. What I have now seems to almost get me there but wont tell the difference between a uppercase letter or a lowercase letter.
rs{3,}[a-z]To remove new lines:
Select All by pressing CTRL + A, and then right click, and then select “Convert Selection” > “Join Lines”.I don’t know where three spaces are in your example. If you just want to replace three spaces with one space, use the Replace command (CTRL + H).
Yutaka Emura
Keymastergreen wrote:
Dear Yutaka:thank you for your reply.
I have seen solution by other softwares:
One is scite for windows
https://sourceforge.net/project/showfiles.php?group_id=2439&package_id=5662&release_id=584805tools > stop executing
Another is ultraedit. When executing java, the command prompt will be activated so program can be stopped with ctrl_c
I am pretty sure you’ll come up with a brilliant solution.
regards,
greenVersion 7.5 Alpha 10 allows you to terminate the tool job. If you reset keyboard properties, the default shortcut key is CTRL+BREAK.
Yutaka Emura
Keymasterljf_emedit wrote:
I hope EM can add the function of setting a fixed column maker in the new version :-)Please be more specific about the fixed column maker. There is an indent guide feature in the new version (7.50 alpha).
Yutaka Emura
Keymasterzhouzh2 wrote:
I have trouble in useing this macro “code2html”
downloaded here:
http://www.emeditor.com/files/code2html-macro-zip/Every time I try to run it, I end up getting the error message:
Constant indispensable file: D:Program FilesEmEditorPlugInscode2html.vbee line: 145
The same thing happens when I try to run the “AutoCompleteFindLite” macro. Other macros works fine. Please help me! What’t wrong with my Emeditor?
What version of EmEditor are you using? Are you using the latest version (7.02 release or 7.5 alpha)?
Yutaka Emura
Keymasterzhouzh2 wrote:
Currently, Emeditor supports “Highlight Matching Parentheses/Brackets”, however, in many situations, quotes may also be an issue, too.
Would you please consider adding Em the abaility to not only highlight matching parentheses and brackets, but also matching quotes?You can check Single Quotation Marks and Double Quotation Marks to highlight entire string inside the quotation marks.
Yutaka Emura
Keymasterdanderson wrote:
Is there a way to open multiple instances of tabbed windows? It appears that either I don’t use tabs or I am limited to a single window instance. I would love to be able to open multiple window instances with tabs. Thanks.Yes, you can create new groups. Just drag and drop one tab to outside of the window.
Yutaka Emura
Keymasterzhouzh2 wrote:
I think you are right.
Alpha 9 can’t edit “Null Column”.
In fact, you can select “Null Column”, but after selection, you can’t input anything. While Alpha 8 can.You are right, it will be fixed on next alpha version. Thanks!
Yutaka Emura
Keymastergreen wrote:
after compile java, when execute, i want to stop the infinite loop, what can i do?e.g.
class Lo
{
public static void main(String[] args)
{
for(int i = 1; i > 0; i++)
{
System.out.println(“hi”);
}
}
}in this case, the loop will print hi nonstop since the condition always fulfill
when execute with command prompt, i can stop it with ctrl_c
but when execute with emeditor, what can i do to stop it?
it doesn’t mean only infinite loop, but how to stop java program during execution with emeditor …thx.
Currently, you will need to end the process from Windows Task Manager. I will research whether EmEditor can send the signal equivalent to Ctrl+C. Thank you!
Yutaka Emura
Keymasterslbuben wrote:
Version 7.02 Pro 64 bitI have a context menu item for “Emeditor”, but nothing happens when I select it. “Open with Emeditor” works, but not “Emeditor”. Double clicking associated files opens them correctly, as well.
I don’t know if the context menu worked properly upon initial installation, or not. Has anyone else reported a problem?
I have tried repairing the software by reinstalling and choosing “repair”, but I have not removed the software completely and reinstalled. I thought before I went that far that I would check to see if it might be a known issue.
Thank you for any help that can be provided !!
I can’t reproduce this issue on my Windows Vista 64-bit machine, but try this: Go to Customize under the Tools menu, select Shortcuts tab, click “More Shortcuts” button, uncheck “Add a shortcut to the Context Menu on Explorer”, click OK. Select “More Shortcuts” button again, check “Add a shortcut to the Context Menu on Explorer”, click OK.
Yutaka Emura
Keymasterlwkyy wrote:
editor.ReplaceInFiles( "<a href=([^<]*)>test</a>", "OK了", "*.html", eeFindReplaceRegExp, eeEncodingSystemDefault, "", "" );
EmEditor Macro Error:
Users operation has been cancelled.Emeditor V7.02
I am sorry but I couldn’t reproduce your issue.
Yutaka Emura
Keymastergreen wrote:
hi all,is there a way to stop an infinite loop when using emeditor to compile java?
thx
What exactly do you mean by infinite loop?
Yutaka Emura
Keymasterdreik wrote:
And is there any chance to revert back to Shift+F4/F4 ‘macros record’/’macros play’ key combination?You can always change shortcuts from Keymap under the Help menu.
Yutaka Emura
KeymasterKalum wrote:
Maybe something odd.When I do a right click for context menu in version 7.50 alpha 8 it show up slowly like it is fading (Version 7.02 is faster)
Is this effect supposes to be in version 7.50?
I don’t see any delay. Do you use any plug-ins or macros associated with any events?
- AuthorPosts