Forum Replies Created
- AuthorPosts
Yutaka Emura
KeymasterFlint wrote:
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.
The font is not proportional. It’s the old good Courier New. Actually, the problem is not that the characters are different (though it is very inconvenient), but that such characters become overlapped, and the text is nearly unreadable. For example, on the same screenshot you can see that in the second line the 3rd character (“o” in “opr009Q7”) is half-visible.
I have an impression, that you just use wrong width displaying such control characters. Example:
Suppose, the file contains the 0x01 byte and is opened in Binary (ASCII) mode. To display it, you use the inverted “A” character (suppose, its width is 10 pixels for the current size selected). But the width of the 0x01 control character (specified in the font) is less than that if the “A” character (for example, 8 pixels), and you use these 8 pixels to display the 10-pixels wide “A”. And that’s the reason why the next symbol is overlapped with this “A” character.So, here’s my vision of what’s happening. Am I right or not? In any case, characters should not overlap.
I fixed this issue. Just one comment: Fixed-pitched fonts can be drawn proportional especially when some characters are not found in the original fixed-pitch font, and font-linking is carried out (to support Unicode).
Yutaka Emura
KeymasterFlint wrote:
I cannot reproduce this issue because I don’t have Total Commander. Is there any other ways to reproduce this issue using Command Prompt or Explorer?
Yes, I can reproduce it from Explorer too. I right-click on a ZIP file, select EmEditor from the context menu and wait. It seems that nothing happens, but when I Alt+Tab to EmEditor I see its “Select Encoding” dialog.
I cannot reproduce this issue using Explorer > select EmEditor a zip file. I tested both on Windows Vista and Windows XP.
Yutaka Emura
KeymasterToadLoadin wrote:
Yutaka wrote:
This is a specification.Sorry for bothering again, but I’m not very clear with the meaning of specification :-P
It means that this is by design. We thought empty lines don’t need indent guides.
Yutaka Emura
KeymasterWhich OS, which locale, and which font do you use?
Yutaka Emura
KeymasterToadLoadin wrote:
The Indent Guides display improperly on the empty lines. :-(This is a specification.
BTW, I personally prefer dotted vertical line for indent guides. :-P
Check “Dotted Focused Lines” in the Scroll tab of Configuration Properties (even if “Horizontal/Vertical Line” is not checked).
Yutaka Emura
KeymasterFlint wrote:
One more issue:
5. When I open a binary file from Total Commander with F4, EmEditor does not jump to the foreground as it shows the “Select Encoding” dialog. I have to switch to EE manually with Alt+Tab.I cannot reproduce this issue because I don’t have Total Commander. Is there any other ways to reproduce this issue using Command Prompt or Explorer?
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!
- AuthorPosts