Forum Replies Created

Viewing 25 posts - 3,176 through 3,200 (of 3,680 total)
  • Author
    Posts
  • 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”.

    in reply to: Global memory #5489
    Yutaka Emura
    Keymaster

    Ned wrote:
    If the user runs a macro one time and the macro prompts the user to answer a question, is there a place in memory that I can store that answer so that it will be available the next time the macro is executed? Thanks!

    You will need to create a file and save your information, or create a registry key and set values with your information.

    in reply to: [BUG]Syntax Highlight Error on Perl's "$#data" #5488
    Yutaka Emura
    Keymaster

    shaohao wrote:


    @data = (1,2);
    for ( my $i = 0; $i < $#data; ++$i) {
    ....

    As we know, the “$#” mean the last element of a list in Perl.
    But EE’s Syntax highlight will be error to display the “$#data” — “#data” will be treated as a comment.

    EmEditor’s syntax highlighting is designed to be generic, so this inconvenience can happen. You might want to remove # from the comment string in the Highlight (2) tab of configuration properties.

    in reply to: Plugin to specify word delimiters #5481
    Yutaka Emura
    Keymaster

    gan wrote:
    I started looking at the emeditor API to create a plugin where i can customize the word delimiters since this cannot be done in emeditor at the moment. I couldn’t find any event to capture the doubleclick though. Am i missing something or is there no way to create such a plugin? Since i work with textfiles that contains a lot of IP addresses i find it a bit annoying that i cannot doubleclick a IP address to select the whole address. This is a feature i really miss after switching to emeditor.

    I don’t believe there was an event for double-clicking. You can create a macro or a plug-in to select an IP address, and you can assign a shortcut key to run that macro/plug-in (not double-click).

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

    Deipotent wrote:
    Is there no way of making it update immediately ?

    If not, can you consider adding this ability, or have a separate option to display the number of bytes and lines in a selection on the status bar.

    How many seconds do you have to wait until the status bar is updated with the correct number of bytes? It should be within a few seconds. If not, there might be something wrong with EmEditor.

    in reply to: Word boundaries/delimiters #5479
    Yutaka Emura
    Keymaster

    whileloop wrote:
    Is there any way to set word delimiters?

    I want EmEditor to use [W]+ and except[-_&+] as delimiters. And there is no boundary between unicode chars and digits/alphabet.

    There is no way to set word delimiters at current version. I might consider that in future versions. Thanks!

    in reply to: HTML Toolbar #5478
    Yutaka Emura
    Keymaster

    pja wrote:
    Hi! I do a great deal of text editing using HTML; in fact I hardly ever use a dedicated word processor. The HTML menu bar in EmEditor is a great help in composing text/html documents. However, I would like to be able to add some additional HTML elements. In particular, I would like to add a list element (

  • ), blockquote, pre, and several others.

    Is the existing HTML menu able to be extended. If yes, then how is it done. If no, then can this be looked at for a future version.

    I know I could use text snippets for some of these required elements but it would be more convenient to have them available from the HTML menu bar and EmEditor text snippets are a bit limited compared to other similar text editors (EditPlus and TextPad are two I’ve used).

    Any help will be gratefully received.

    Regards,
    Peter :-?

  • HTMLBar plug-in source code is available at http://www.emeditor.com/modules/mydownloads/singlefile.php?cid=6&lid=221 so you can customize the plug-in as whatever you would like. You can also do a lot of these features by using macros.

    in reply to: Can plugins be better organized? #5475
    Yutaka Emura
    Keymaster

    eigostein wrote:
    Maybe users can create subdirectories in the plugin directory and put some plugins in it, And EmEditor can automatically show the submenu items with the same names of those subdirectories in the plugin menu? I mean, if user create a subdirectory named “spelling“, Emeditor then can show a submenu “spelling” under the plugin menu, and the plugins in the directory of “spelling” can also be shown in this submenu.

    Is it OK?

    It is not possible at the current version. I will take it as an enhancement suggestion.
    :-)

    Yutaka Emura
    Keymaster

    eigostein wrote:
    go go

    leo_zzz wrote:
    will you update it(AutoComplete) to support INI?

    AutoComplete plug-in source code is available, so you can customize the plug-in. I will do that when I have a time. Thanks!

    in reply to: Columnar selection bug #5471
    Yutaka Emura
    Keymaster

    Deipotent wrote:
    If I do a columnar selection to select a few lines (including the first character on the first line) and the selection ends with the mouse cursor past the end of the last line, the selection on lines which are longer than the last line extends to where the mouse cursor was. However, when the EmEditor window is resized the selection
    is redrawn so that the right-hand side is reduced to the extent of the last column of the last line.

    It is specification that the columnar seleciton will be resized when the EmEditor window is resized and the wrap mode is by window size. If this is not a good answer, I might misunderstand your point. In this case, please be more specific, or email me a screenshot. Thanks!

    Yutaka Emura
    Keymaster

    Deipotent wrote:
    Web Preview plugin: Dynamic update of the preview (ie. as the document is modified), without the need to manually save it first.

    You can preview dynamic update, but you wil need to refresh the preview window by clicking the right mouse button, and select “Refresh”.

    in reply to: Hex/Binary View mode + other requests #5469
    Yutaka Emura
    Keymaster

    Since this is suggestion forum, I am not going to respond to each suggestion. However, you can do

    4) Option to always show close button on tab (instead of just on the active one)

    by selecting “On Each Tab” on Close Button drop-down list box (Customize dialog box – Tab tab – Tab Mouse Options dialog box).

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

    whileloop wrote:
    It would be better if it can be put in a field on the right side of the status bar. So that it will not block other status messages.

    Unfortunately, it is not possible to put in a field on the right side of the status bar with the current version of EmEditor.

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

    Deipotent wrote:
    I set the delay time to 0.0 seconds, and there is still a delay before the status bar is updated. Is this a bug ?

    I would also like it to show the number of lines in the selection. Is this possible ?

    BTW, the documentation does not mention about the length property. Where can I find an up-to-date reference for all objects and properties ?

    The status bar is updated when EmEditor becomes idle, so it is not a bug. You can certainly include the number of lines in the selection. I will write the code if you would like me to. length property is not a property of EmEditor objects, rather it is a property of string object in JavaScript. JavaScript is a popular script language, and so you can find the reference in Web sites or in many books. Search for “JavaScript string length” in Google.

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