Forum Replies Created
- AuthorPosts
Yutaka Emura
KeymasterHi Cirillo,
Thanks for using EmEditor Professional!
Yes, a macro has to be included in My Macros in order for it to be appeared in the main toolbar. You can hide the Macros toolbar, and show selected macro buttons on the main toolbar.
Please let me know if you have further questions.
Thanks!Yutaka Emura
KeymasterI understand these are important improvements. I might consider these in future verisons.
Thank you!Yutaka Emura
KeymasterHi maxim_2004,
Can you email me your sample file (as an attachment after zipped)? My email is [email protected] .
Thanks!
Yutaka Emura
KeymasterNo, it doesn’t work with previous text file.
Yutaka Emura
KeymasterYou can assign any shortcut key from the configuration properties > Keyboard tab. You can select this macro in the My Macros category, and then assign a new key.
Yutaka Emura
KeymasterThis is an example of the macro that opens the next .txt file in the same folder as the opened file.
// This macro opens the next ".txt" file in the current folder.
//
sFolder = document.Path;
if( sFolder != "" ){
fso = new ActiveXObject("Scripting.FileSystemObject");
f = fso.GetFolder(sFolder);
fc = new Enumerator(f.files);
sItem = "";
for (; !fc.atEnd(); fc.moveNext()) {
if( fc.item().name == document.Name ) {
for( fc.moveNext(); !fc.atEnd(); fc.moveNext()) {
n = fc.item().name.lastIndexOf(".");
if( n != -1 ){
if( fc.item().name.slice( n ) == ".txt" ){
sPath = sFolder + "" + fc.item().name;
try {
editor.OpenFile( sPath );
}
catch(e){
}
break;
}
}
}
break;
}
}
}
Yutaka Emura
KeymasterHi Maria,
To enable or disable the Tabs, you can use the EnableTab property of Editor object.
editor.EnableTab = true;
To find if OpenDocuments.dll is checked, please use the following code:
function IsPluginChecked( sPluginName )
{
for( nID = 5632; nID <= 5632 + 255; nID++ ){
str = editor.QueryStringbyID( nID );
if( str == sPluginName ){
nStatus = editor.QueryStatusByID( nID );
if( nStatus & eeStatusLatched ) {
return true;
}
break;
}
}
return false;
}
alert( IsPluginChecked( "OpenDocuments.dll" ) );
Please let me know if you have further questions. Thanks!
Yutaka Emura
KeymasterHi user,
You could write a macro to view the next text file in the current folder by pressing a shortcut key.
Yutaka Emura
KeymasterHi user,
This is an example of a JavaScript macro:
sText = document.selection.Text;
if( sText != "" ) {
menu = CreatePopupMenu();
nCount = editor.Documents.Count;
for( i = 1; i <= nCount; i++ ){
doc = editor.Documents.Item( i );
if( doc != document ){
menu.Add( doc.FullName, i );
}
}
result = menu.Track( 0 );
if( result != 0 ) {
docOrg = document;
doc = editor.Documents.Item( result );
doc.Activate();
document.selection.EndOfDocument();
document.selection.Text = sText;
docOrg.Activate();
document.selection.Delete();
}
}
Yutaka Emura
KeymasterHi Cirillo,
Sure. I will try to use newer version but I prefer doing on major version upgrade. What are the difference between 1.2.9 and 1.2.11?
I cannot support if you replace the DLL, and I don’t know if it is different. If you want, you can try it at your own risk.
Yutaka Emura
KeymasterHi petx,
I will consider your inputs in future versions.
Thanks for your inputs!Yutaka Emura
KeymasterHi user,
Thanks for your comments! I might consider that in future versions.
If you are using Windows 7, you might not need the Tray Icon since the Task Bar EmEditor icon includes the Task menus that include most of the same menus as the Tray Icon.Yutaka Emura
KeymasterHi user,
That is exactly the new feature of EmEditor v10. It should restore the previous workspace even with unsaved files after the application crash.
Thanks for using EmEditor!
Yutaka Emura
KeymasterNo, I cannot reproduce this issue. Did you try on v10?
I would suggest you to reset all configurations, and can you try again?Yutaka Emura
KeymasterHi Derek,
Unfortunately not.
Thank you for using EmEditor!Yutaka Emura
KeymasterHello derekcohen,
I will fix this issue.
Thank you!Yutaka Emura
KeymasterHello Flint,
Thanks for your comments. Some people don’t want to change the text at all, so this needs to be optional. I might think about that in future versions.
Yutaka Emura
KeymasterHello BlackIce,
Thanks for trying EmEditor!
Unfortunately, there is no way to split sidebars. This is because we want to make sure EmEditor launches fast and it will not become bloated. I understand many people want this feature, but currently, I take higher priority on lightweight and fast launch of EmEditor.Please let me know if you have further questions.
Thank you,Yutaka Emura
KeymasterHello spudly,
As long as you use any one of Western European versions of Windows, US-ASCII and Western European encodings are exactly the same. To disable the Detect All result dialog box, you might want to uncheck “Detect All” check box in the Open dialog box when you open a file.
Please don’t hesitate to ask me again if you have further questions.
Thank you,Yutaka Emura
KeymasterHello zhouzh2,
This is currently specification. What if the second line wraps by window? EmEditor currently judges only by the first line. I notice someone might insert a selection like this example, but currently there is no way to insert the selection like this. I might have to add an option to make this possible in future versions. Thanks for comments, Flint.
Yutaka Emura
Keymasterdc.FileSave.ReturnMethod usually always returns 0. This means the configuration will not alter the return method of a document. EmEditor supports files that have mixed return methods.
If you want to find the return method of the current document and if you know the return method is the same in the entire document, you can write:
str = document.GetLine( 0, eeGetLineWithNewLines )
Then you can find what the return method of the current document is.
I hope this helps.
If you have further questions, please let me know.
Thanks!Yutaka Emura
KeymasterHello hoody,
I might think about that feature in future versions.
Thanks!Yutaka Emura
KeymasterHi,
GetLine method (Document object) allows you to add new line character(s) (CR, LF, or CR+LF) at the end of the line.
str = document.GetLine( yLine, eeGetLineWithNewLines )
Then you can correctly count the line length.
I hope this helps.
Yutaka Emura
KeymasterHi,
Thanks for sharing your concern. But don’t worry. I make sure the text editor launches as fast as previous versions every time when I upgrade.
Here is the average launch time for each major version. I tested on a Virtual Machine (average time except the first launch).
v8.06 —— 0.110 sec
v9.17 —— 0.104 sec
v10 RC18 — 0.083 secAs you can see, the launch speed is about the same within error. The test shows v10 is actually faster than v9 in launch speed. This is I believe because it gets rid of Diff plug-in, and several localized DLLs for plug-ins have been deprecated and combined with the core locale file (emedloc.dll). But I would say this is still in error range.
When I add a new feature, I always consider optimization, and I wouldn’t add a feature that might make the overall program slower. The code needed for comparison feature was not as much as you might think, and all the code for the UI (dialog boxes) were added as DLL files (emeddlgt.dll and emeddlgs.dll). On the other hand, plug-ins have to be loaded at launch time because EmEditor needs to show icons and text for the menus. I am going to further optimize for the speed in future versions.
Yutaka Emura
KeymasterHello wgf4242,
Select Customize under the Tools menu, and check the Remember Last Folder check box on the Customize dialog box.
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.
Please let me know if you have further questions.
Thanks,
- AuthorPosts