Forum Replies Created

Viewing 25 posts - 3,176 through 3,200 (of 3,693 total)
  • Author
    Posts
  • in reply to: MTASC with EmEditor #5555
    Yutaka Emura
    Keymaster

    I don’t know any plug-ins that support MTASC. I am not sure how you want to integrate MTASC with EmEditor, but you might find the following information useful.

    http://www.emeditor.com/modules/xoopsfaq/index.php?cat_id=8#q68

    I hope this helps.

    in reply to: Bug with extreme long lines #5554
    Yutaka Emura
    Keymaster

    lovebeta wrote:
    I recently dealt with some poorly generated XHTML files. The generating script forgot to insert any return, so the resulting files were only one row but with 1~5 million columns.

    EmEditor bacame very slow when I tried to sort the file out, both in navigation and search and replace. I used the latest Emeditor 7.0.3.

    In the end, I had to use Notepad++ to edit them. Everything worked fine in Notepad++ regarding these pathetic files. But I still like EmEditor better. So please look at this issue and see if you can replicate it! Thanks! :-x

    Please email me that sample file after zipped to [email protected] if you really need that optimization. Each file has a different factor that slows the overall speed, so it is important to reproduce your situation here. Thanks!

    in reply to: Word Wrap doesn't actually add CR-LF #5548
    Yutaka Emura
    Keymaster

    mef526 wrote:
    Is there a way to word wrap and include the CR-LF so that when the text is pasted to another location the wrap is preserved?

    You can select all (CTRL + A), and press F7 (or Edit menu > Convert Selection > Insert Returns) should insert CR+LF at the word wrapping positions. After copy and paste, you can undo by pressing CTRL + Z.

    in reply to: BUG: The x64 installer has the 32-bit plugins #5547
    Yutaka Emura
    Keymaster

    Deipotent wrote:
    This means they cannot be used.

    However, as a workaround it is possible to download them separately and install them.

    I tried the latest version emed7003ep64.msi, and there was no problem. Which version (installer file) did you use, and which plug-ins are not working? Are these standard plug-ins that come with the installer?

    in reply to: 7.00.3 RC1 link error #5543
    Yutaka Emura
    Keymaster

    Orionizer wrote:
    I already got it – what I meant was the text under the latest download page was 7.00.2 – not just the link. When I looked at the link again, it said 7.00.3…

    Anyway, I found the new file under the “older versions download” link…

    Thanks!

    As you noticed, the RC version is already deleted, and there was timing issue with download.com. Now everything is resolved. Please download the latest released version from:
    http://www.emeditor.com/modules/download2/
    Thank you.

    in reply to: EmEditor Professional 7.00.3 RC 1 #5541
    Yutaka Emura
    Keymaster

    blackhawk wrote:

    It didn’t seem to fill in the parameters. Did I miss something?
    You will need to enter parameter values as described in the above screenshots.

    I never was prompted for any values. I even tried your example, and it did not work either. Should I have uninstalled before installing? It does say version 7.00.3.

    Please make sure a backshash is not escaped by another backslash. For instance, if you want to enter {x}, you should not enter {x}. If you drag and drop the sample text above, the plug-in automatically escapes a backslash with another backslash.

    Can we apply a name to the snippets rather than use the text?
    I am not sure what this means. Can you please clarify this?

    Sorry for not being clear. Instead of the Snippet showing “//Title : {Title}n” in the Snippet window, it would show “C# Program Header”, or “ASP Comment Block”, “HTML Table Block” etc. Basically be able to name the snippets.

    Does this help?

    OK. Thanks for your clarification.

    in reply to: EmEditor Professional 7.00.3 RC 1 #5539
    Yutaka Emura
    Keymaster

    It didn’t seem to fill in the parameters. Did I miss something?

    You will need to enter parameter values as described in the above screenshots.

    Limitation on text string size; can it be larger? 32 or 64K?

    Then I should save the data to a text file rather than the Registry. I might work on that.

    Can we apply a name to the snippets rather than use the text?

    I am not sure what this means. Can you please clarify this?

    in reply to: Tutorial on how to create a plugin? #5538
    Yutaka Emura
    Keymaster

    Passiday wrote:

    EmEditor DOM is not exposed for other applications

    I am not very competent in Windows C application programming, so my question might appear stupid… I was under impression that everything (well, almost) that user can do with EmEditor interface – is possible via macros. The plugins allow to add things like extra windows and extra controls on the existing window (like expand-collapse buttons of the outline plugin). The plugins seem to have ver integrated way of communication with base EmEditor. I am very surprised to hear that there could not be a plugin that sends a “mini macro command” to base EmEditor for execution, and gets a value in return. But what do I know, maybe that requires extensive reprogramming and extra memory load. I’d say that exposing the DOM would allow to stop doing duplicate work with supporting similar range of functions for macros and plugins.

    Thanks for inputs! I was not accurate in my previous reply. Actually a plug-in can be used as a communication layter between EmEditor DOM and outside applications if someone writes that plug-in. At any events, it is not very easy. I hope I clarified my points.

    in reply to: Importing removable configuration ini files #5527
    Yutaka Emura
    Keymaster

    TheXman wrote:
    I apologize if this has been asked before. The configuration files, for the removable installation, are kept in .ini files. The only import option is to import from a file. I assume that it is referring to a .reg file and not an .ini file since the default file filter is .reg. Is this true? Is it possible to import all of the information from the eeConfig, eePlugins, and eeComon .ini files into the registry? The reason I ask is that I have spent considerable time configuring my removable installation (which I use the majority of the time) and would like to import all of those configurations to my desktop. Please tell me this is possible. :-D

    Xavier

    That is not possible at current version, unfortunately. I might consider that in future versions. Thanks!

    in reply to: Comments and outline problem #5524
    Yutaka Emura
    Keymaster

    kulibin wrote:
    I use python script and emeditor to edit it.
    If I comment something using “comment”, emeditor inserts “#” at the begining of the line, and outline show unimportant branch.
    I tried to change comment symbol to ” #”, but emeditor can’t uncomment after that (and it’s a bad way, because this outline branch will appear on another level).

    1. Is there a way to insert a comment symbol not at the beginning of line, but before the first symbol in the line?
    2. Or a way to say outline not to branch lines that starts with special symbols (but I like 1. much more).

    Thanks.

    The Comment command in EmEditor uses comment strings defined in the Hightlight(2) tab of configuration properties. You may customize those properties if you want to use different strings for comments. If you want to insert comments at different places, you might want to write a macro for your specific purpose. The Outline plug-in might need customization. You can change how Outline plug-in interprets nodes and branches from the Outline properties.

    in reply to: Tutorial on how to create a plugin? #5523
    Yutaka Emura
    Keymaster

    Passiday wrote:
    Hello,

    Is there any tutorial “How to cook your own plugin for EmEditor”? Being C# developer, I find it hard to grasp the programming of plugins in C by looking on the sources of existing samples available here for download. I’d be happy to see some sort of “basic plugin example” that would be good start, and then learn how it can be extended and also understand what are the limitations in interoperability between EmEditor and the plugin – what kind of features are acutally possible, and what not.

    As I have previously said, I’d like to get a plugin that would be a floating window with embedded browser, that could be loaded with local or external URL. The JavaScript in the loaded HTML could have access to the EmEditor DOM, and vice-versa – the EmEditor macros could have access to the loaded window’s DOM. To my opinion, that would be like sacred grale – DHTML interface to build visually-enhanced mini-applications to enhance the functionality of basic EmEditor.

    Unfortunately, there is no “basic plugin example”, but there are a number of source code available at http://www.emeditor.com/modules/mydownloads/viewcat.php?cid=6 and some are very basic, especially “Word Count plug-in” might be a first one to look at. However, unfortunately, EmEditor DOM is not exposed for other applications, partly because EmEditor wants to be light-weighted.

    in reply to: Error saving large files #5519
    Yutaka Emura
    Keymaster

    mef526 wrote:
    When editing a large file of 400 MB or more the file save does not work. It looks like it works just fine, but closing and re-opening the file shows that the edit is lost. The only workaround to do a “Save As…” and replace the file later.
    I have tried both 7.00.1 and 7.00.2 and the problem is on both.

    I hope that you will make this a priority because our users will waste a lot of time because of theis bug.

    Thanks for pointing out that bug. I will fix that immediately.

    in reply to: Keyboard shortcut for macro not in macro toolbar #5516
    Yutaka Emura
    Keymaster

    owilsky wrote:
    But all macros that are included in “My Macros” are displayed in the toolbar, right?
    I would like to display the toolbar and some of my macros there, but not all.
    So it is not possible to assign keyboard shortcuts for macros not on the toolbar?

    It is possible. You don’t need to display Macros Toolbar. Instead, you can create a new toolbar and include only macros you want to display.

    in reply to: Keyboard shortcut for macro not in macro toolbar #5514
    Yutaka Emura
    Keymaster

    owilsky wrote:
    Hi,

    is it possible to assign a keyboard shortcut to a macro that is not at the macro toolbar?

    We need a lot of macros for our work (>50) so that we do not want to add every macro to the toolbar. Instead we want to call them using keyboard shortcuts.

    Thanks for any advice.

    Oliver

    The Macros Toolbar does not need to be displayed, but the macros you want to assign keyboard shortcut must be included in “My Macros” (Macros menu > Customize). Then you can assgin keyboard shortcuts from Configuration Properties > Keyboard tab.

    in reply to: Snippets Enhancement Request #5512
    Yutaka Emura
    Keymaster

    ttwi wrote:
    Snippet plugin functioning like TextMate or Visual Studio is the most wanted enhancement for next major version of EmEditor.

    Capability to drag and drop multilple-line text is almost ready. If someone needs more advanced features found in other tools, please write more details of those specific features — and only features you really need, so that I will be able to satisfy most users.

    in reply to: macro between windows #5511
    Yutaka Emura
    Keymaster

    drcasa wrote:
    Thanks, that works. Is there a reason that the next document command is not recorded?

    Thanks,
    Dave

    Yes. Not all the commands are recorded. In this case, the macro will be interrupted if the Next Document command is executed when the Tab Bar is not enabled. I might consider adding more commands that can be recorded in the future.

    in reply to: Problem with Vista 64-bit file extensions #5509
    Yutaka Emura
    Keymaster

    EEuser wrote:
    I think that you have hit the issue on the nose. Sorry for wasting your time on this. But, I have one last question. How do you un-associate ANY file extension in vista. This feature seems to have been overlooked by the Microsoft developers.

    Sorry, this is more like a Windows question, but there might not be any way to unregister file extensions. If that .php extension was registered by another program, uninstalling that program might unregister that file extension. If not, I would go to RegEdit.exe, locate HKEY_CLASSES_ROOT.php, and delete that tree or a portion of that tree or values. Please make sure you backup the registry information before you edit any values or keys in the Registry, so you can undo you changes if there was something wrong.

    in reply to: Bypass Windows file cache on large files? #5508
    Yutaka Emura
    Keymaster

    MattP wrote:
    Out of curiosity, are you using the FILE_FLAG_NO_BUFFERING flag when working with large files? This provides a significant performance boost when working with large files in a sequential manner, such as a search. Currently in my use of EmEditor Pro, I’m working with files that are 1GB or more, and I seem to notice quite a bit of disk thrashing.

    I’ve written some software in the past that worked with files in the 4GB to 8GB range and the overall performance of the system improved dramatically by using the FILE_FLAG_NO_BUFFERING flag for CreateFile. The only downside is you now have to read/write in 512 byte chunks, but the performance gain is well worth it.

    I checked the code, and FILE_FLAG_NO_BUFFERING was not used. I have experimended a lot of flag combinations, but I will certainly try that again. You might want to check the Advanced tab of the Customize dialog box (Tools menu > Customize), and set or clear “Use Temporary File to Reduce Memory Usage” or change the numeric value here. I guess the hard disk thrashing you hear might come from either (1) Windows virtual memory swapping or (2) EmEditor temporary file usage. Thanks for your inputs!

    in reply to: macro between windows #5505
    Yutaka Emura
    Keymaster

    drcasa wrote:
    Hi. What I am trying to accomplish is to search through an open document looking for a specific series of characters then copy that entire line into an open empty document. The macro should then go back to the first document and continue the search. I have been able to record the sequences of the macro that search for text, highlight the entire line then copy it but I have not been able to then swap to the other open document to perform the paste. I can manually swap to the other document via CTRL+TAB but that is not entered into the macro.

    Thanks,
    Dave

    Please refer to the Help, and you will find Next Document command in the Command section:
    http://www.emeditor.com/help/cmd/window/next_window.htm

    Then, you will find the corresponding macro will be:

    editor.ExecuteCommandByID(4245);

    which is missing because this command is not recorded by EmEditor automatically. You will need to insert this line at the missing place. Alternatively, you can use Documents Collection and Document Object to enumerate documents and activate a selected document.

    in reply to: macro between windows #5503
    Yutaka Emura
    Keymaster

    drcasa wrote:
    Hi all. If I have two different window tabs open, is it possible for me to search for text in one window tab, copy it, then paste it into the other window tab? When I try this using ctrl+tab to switch windows, the macro pastes the found text into the same window it copied it from.

    Thanks,
    Dave

    I am not sure exactly what you would like to do. Do you want to use a macro to paste one text in one tab to another text in another tab, and do you want to know how to write the macro?

    in reply to: Request: selection length in status bar #5498
    Yutaka Emura
    Keymaster

    Good job! :-)

    in reply to: Problems with Macros #5497
    Yutaka Emura
    Keymaster

    jurgfella wrote:
    I’m having a problem with Em Editor 7.00.1 where, on my Windows XP machine, the program crashes if I run macros with temporary options. Also have found that cannot save macros in .vbee format but only in .jsee format. Had to uninstall this version and reinstall version 6.00.3. However, installed version 7.00.1 on my Vista laptop, and there it worked fine.

    I received the similar message on my email inbox. Is that from you? :-) Please try 7.00.2, which might resolve some bugs. You might want to check “Add Macro Language when Editing New Recorded macro” checkbox in the Options tab of Customize Macros dialog box (on Macros menu > Customize).

    in reply to: Problem with Vista 64-bit file extensions #5494
    Yutaka Emura
    Keymaster

    EEuser wrote:
    Well, I just double click. I don’t have my vista machine with me, but if I recall it seems as though the Admin account works fine, but my normal user account does not. Obviously notepad was associated with the .php extension at onetime, but for the life of me (and this could be partially due to my lack of experience with vista) I can not make EmEditor to be the default application associated with .php files.

    I hope you have resolved this issue by now, but I don’t know why this happens. It might be Windows Vista problem. PHP should not be associated with Notepad when you first install fresh Windows Vista. Later you must have associated PHP with Notepad. I would unregister PHP from Notepad before install EmEditor.

    Yutaka Emura
    Keymaster

    Flint wrote:
    You misunderstood me. I wasn’t talking about Replace in Files, I was talking about Replace All button in normal Replace dialog, designed for working with single, currently opened file. I mean that this button (Replace All) and the button Replace just above it, behave differently.

    I apologize for misunderstanding. I reproduced this issue. Thanks!

    Yutaka Emura
    Keymaster

    Replace in Files and normal Replace use different characters for New Lines. See http://www.emeditor.com/help/howto/search/search_nl.htm for information. In your case, I believe you need to use “rn” for new lines when you try to “Replace in Files”.

Viewing 25 posts - 3,176 through 3,200 (of 3,693 total)