Forum Replies Created

Viewing 25 posts - 2,826 through 2,850 (of 3,701 total)
  • Author
    Posts
  • in reply to: two-keystroke keyboard combinations #6665
    Yutaka Emura
    Keymaster

    dreftymac wrote:
    How many different ways can a user set up a two-keystroke keyboard mapping?

    I know in another TextEditor, it was possible to set them up using

    ctrl+Q … (then some other key)

    ctrl+semicolon (then some other key)

    does EmEditor support this? If yes, for which keys?

    Thanks for any info.

    Two-keystroke keyboard mappings are allowed up to 8 different first keys using User Menu (1) to User Menu (8). CTRL + K is already pre-defined to User Menu (1) by default. You can define other User Menus on the Help menu > Keyboard Map.

    For each User Menu, you can define as meny shortcuts as you want (of course, limited to physical keys). To customize the user menus and set keyboard shortcuts, go to Customize Menus on the Tools menu, select User Menu (1)-(8), and then customize the menu by using & to specify the second shortcut key.

    I hope this information will help, and I will add this information to our FAQ section.

    in reply to: Customizable configuration order #6664
    Yutaka Emura
    Keymaster

    wdscxsj wrote:
    It’s very convenient that EmEditor supports multiple file-type configurations. It’ll be even better if the configuration order can be customized.

    I use Python quite often. Whenever I create a new (unsaved) file and switch to the Python configuration, I have to press F11 and a series of P’s. Although I don’t use Pascal, Perl, etc. much, I want to keep their configurations. So if Python can appear as my first P-language, many keypresses will be saved.

    It’s the same case for the “New File” list.

    Thank you.

    Thanks for your comments! You cannot change the order — it is an alphabetical order. However, you can rename the configuration name. For instance, you can rename “Pascal” to “_Pascal” so it will become the last item of the list. I hope this technique will help.

    in reply to: Highlight words and lines from macro #6663
    Yutaka Emura
    Keymaster

    masha wrote:
    Is it possible to highight lines having their numbers ?

    For example, my macro runs Lint or compiler, parses its output and got an array of line numbers.
    Then I want to see them underlined (or with red background) in editor.

    If you want to highlght line numbers so they become mouse-clickable, you need to write a single-line JavaScript macro:

    document.HighlightTag = true;

    and run this macro when you need it.

    You might need to adjust the Tag Format in the Edit tab of Customize dialog box (on Tools menu).

    in reply to: Python macros #6662
    Yutaka Emura
    Keymaster

    masha wrote:
    Seems there is a bug related to Config object
    I can enumerate windows and documents in Python but not the collections of the Config object.
    The latest ActivePython 2.6.0.0 has the problem as well.

    #language=”Python”

    Window.OutputBar.Visible = True
    debug = Window.OutputBar.writeln

    # ok
    for x in Window.shell.windows: debug(x); debug(x.Caption)

    # ok
    for x in Window.editor.Documents: debug(x); debug(x.FullName)

    # crash
    for x in Window.document.Config.Keyboard.List: debug(str(x))

    # crash
    for x in Window.document.Config.Highlight.List: debug(x)

    This is a sensitive area because the list is very large. It might cause out of memory situations.
    Did you try Versin 7 and was it OK?
    Also, you might want to try something like:


    list = Window.document.Config.Highlight.List
    for x in list: debug(x)

    in reply to: Are there onKeyPress, onMouseClick or somethike like those ? #6661
    Yutaka Emura
    Keymaster

    masha wrote:
    Hello.

    How to hook all keyboard and mouse input for a given window ?
    Can I write a macro which will handle Ctrl-click or Shift-click on the document window and then will do something with the clicked word?

    You can find some events by going to the Macros menu, Customize, check Runs at Events, and then click the Events button. But that is all we have. For mouse clicks, you will need to write a plug-in.

    in reply to: Change EmEditor registered user #6660
    Yutaka Emura
    Keymaster

    saitodisse wrote:
    Hello!
    I’ve uninstalled previous version but the program still registered.
    How can I re-install EmEditor with another user?

    Deleting both or either of the following keys will remove your old user information:

    HKEY_CURRENT_USERSoftwareEmSoftRegist

    HKEY_LOCAL_MACHINESoftwareEmSoftRegist

    Thank you!

    in reply to: Function parameter's tooltip. #6646
    Yutaka Emura
    Keymaster

    andenix wrote:
    I think its quite a natural thing to expect for a code editor to help with function parameters. Most of libraries/includes have tonns of functions with parameters impossible to remember. (I wonder why none of fancy code editors like Ultraedit have those).
    I know EmEditor has this for VS solution files. I wonder if its possible to extend for any orbitary language.
    Thanks.

    The Parameter Information tooltip should work on non-VS solutoin files.

    in reply to: Insert a page break #6644
    Yutaka Emura
    Keymaster

    letmein7 wrote:
    I have a duplex printer and would like to see ‘insert a page break’ feature in your program.

    thank you.

    It there is a character code 000CH (^L) at the beginning or the end of a line, a page break will occur when you print. You can insert this character on the Edit menu, Advanced > Insert Special Character.

    in reply to: slow when saving files #6636
    Yutaka Emura
    Keymaster

    briank07 wrote:
    Hi,

    Recently I’ve encountered a problem where, when I save a file, it takes a few seconds and the cursor disappears during that period. I was using EmEditor 7 and had the problem, and now I’m using emeditor 8 and am still having the problem. Other text editors work fine…is there any setting that might be causing this?

    Thanks for the help,

    Brian

    Are you dealing with a large file? How large is it? Are you saving a file to a network folder? Any other details that might reproduce this issue?

    Yutaka Emura
    Keymaster

    dreftymac wrote:
    It seems that EmEditor has a unique way of redrawing window contents that is a little different from other GUI-based editors I have used on windows. One side-effect of this difference is an apparent “jittery” appearance to the text when editing moderate-sized files.

    Question: Is there a user-configurable way to reduce the “jittery” appearance of the EmEditor window for fast typing in large files?

    To understand what I am talking about, try these steps:
    1) open a large file in emeditor
    2) type random letters as fast as you can into the edit area
    3) notice how some lines of the text will instantaneously “disappear” and then come back again, it happens so fast you can barely notice it, but when the file is larger, it becomes easier to notice
    4) notice the vertical scrollbar area, keep typing random characters rapidly and, if you look closely, you might see a small barely-visible scrollbar traversing up and down the height of the scrollbar area as you type characters.

    These side-effects are barely noticeable for smaller files and when the user types slowly. However, for larger files or faster typing speeds, the effects become more and more noticeable. It is tolerable, but a tad distracting, and it would be nice to reduce this or eliminate it.

    Thanks for reporting this issue. Are you using the latest version — Version 8?

    If you are using plug-ins, especially Outline plug-in, you might want to turn off those plug-ins and try again. Thanks!

    in reply to: can a macro know how it was invoked or recieve arguments? #6628
    Yutaka Emura
    Keymaster

    dreftymac wrote:
    Question:
    1) Is it possible to determine from within a macro what keyboard combination was used to trigger the macro?

    2) If no to number 1 above, is there a way to pass an argument into a macro that is tied to a keyboard combination under “My Macros”? The idea is to be able to create a single macro that responds differently depending on what keyboard combo was used to trigger it.

    If the answer is no to all of the above, no problem, I can make multiple macros — one for each key combination, just thought I would ask.

    Cheers

    Sorry, no to both. You can make multiple macros.

    Yutaka Emura
    Keymaster

    dreftymac wrote:
    Suppose I have emeditor using the INI files and that the location of the files is as follows:

    C:ProgramsEmEditoreeCommon.ini
    C:ProgramsEmEditoreeConfig.ini
    C:ProgramsEmEditoreeLM.ini
    C:ProgramsEmEditoreePlugins.ini
    C:ProgramsEmEditoreeUseIni.ini

    Question: Is there a way to keep these files in a *subdirectory* instead of inside the EmEditor program root, and still have EmEditor recognize and use the files?
    The preferred way:

    C:ProgramsEmEditorinifileseeCommon.ini
    C:ProgramsEmEditorinifileseeConfig.ini
    [ … and so on like this … ]

    The reason for this is my system is setup to avoid backing up files that appear in a “program root” directory in order to save space. If it were possible to put them inside a *child* directory of the program root (or some other user configurable place), there would be no problem.

    Thanks for any answers,

    I am sorry, there is no way to move those INI files into a subdirecotry. That is the way EmEditor recognizes the INI files without using the Registry settings. If you still need to move INI files into the subdirectory, let me know how you want EmEditor to determine where the INI files are.

    Yutaka Emura
    Keymaster

    chabulier wrote:
    this is not a big thing, but is there some one who want to copy a CR/LF to override the clipboard content?

    Did you try RC5? It doesn’t copy CR/LF to override the clipboard content with CTRL+C.

    in reply to: using ctrl+tab to iterate through "document tabs" #6617
    Yutaka Emura
    Keymaster

    dreftymac wrote:
    Question: Is there a way to get EmEditor to iterate through document tabs in sequential order from left to right? The way it behaves now, it is difficult to predict the order that the document tabs will be activated. Manually re-ordering the tabs by hand does not seem to help — the iteration order still remains unpredictable.

    In contrast, if you use document tabs in firefox (for example) and press ctrl+tab, the document tabs iterate in predictable visual order from left to right. The reverse is done if you press ctrl_shift_tab.

    It would be nice if EmEditor could be configured to work this way also.

    Thanks in advance for any answers.

    Yes. Select Customize on the Tools menu, select Window tab, and claer the Switch to Last Used Document for Next Document Command check box.

    in reply to: how can i replace all returns with something else? #6610
    Yutaka Emura
    Keymaster

    mai wrote:
    I want to replace all the returns(the enter) with something else, anyone know how can i do that?

    Check Use Escape Sequence, and replace
    n
    with something else.

    in reply to: How many vertical selection bugs in EmEditor? #6609
    Yutaka Emura
    Keymaster

    visitor wrote:

    Yutaka wrote:
    I am not sure exactly what the issue is. Can you write more in details?

    To reproduce this bug you should select vertical block of text from center of the window to it’s left side (1st column).
    After that you should press Shift+Left. The selection goes to the right side of the window (is it bug or a feature?).

    For example, assume you have some document:

    ————-
    00000000
    12345678
    00000000
    ————-

    Select vertical block of text from 4 to 1. Thus “1234” is selected. Press Shift+Left.
    You will see that “5678” (and “0000” in the first row) is selected now. Strange, isn’t it?

    It is an expected behavior. I don’t think it is strange in my opinion.

    in reply to: Just a small issue… #6608
    Yutaka Emura
    Keymaster

    zhouzh2 wrote:
    O.K. see here.
    bug

    Edit: Just upgraded to RC5 and didn’t have this issure any more.

    You might still get this issue since RC5 did not address this issue. There must be a certain condition. Please let me know if you find anything that reproduces this issue.

    in reply to: What's wrong with this? #6603
    Yutaka Emura
    Keymaster

    webern wrote:
    I have the problem with the macro below:

    with (document.selection){
    Replace("^","* ", eeFindNext | eeReplaceSelOnly | eeReplaceAll | eeFindReplaceRegExp);
    Replace("(?<!(.)$)$", ".", eeFindNext | eeReplaceSelOnly | eeReplaceAll | eeFindReplaceRegExp);
    }

    Something wrong with the above (highlighted) regexp. I know this regexp is not perfect, but I get exactly what I want with it on EE7.
    The results are different on EE8.

    Steps to reproduce:
    1. Apply the macro to the text below:

    [font=Verdana]EmEditor Text Editor is a lightweight
    EmEditor Text Editor is a lightweight
    EmEditor Text Editor is a lightweight.
    EmEditor Text Editor is a lightweight.


    (a) On EE7 the results are as follows (changes are highlighted):

    * EmEditor Text Editor is a lightweight.
    * EmEditor Text Editor is a lightweight.
    * EmEditor Text Editor is a lightweight.
    * EmEditor Text Editor is a lightweight.

    (b) On EE8 I got something wrong (highlighted):

    * EmEditor Text Editor is a lightweight.
    * EmEditor Text Editor is a lightweight..
    * EmEditor Text Editor is a lightweight.
    .* EmEditor Text Editor is a lightweight.

    2. Press Ctrl+Z right after applying the macro on EE8 then look at the screen to see what the Undo have produced.

    P.S. A friend of mine suggested me to replace the imperfective “(?<!(.)$)$", ".” with more reliable “([^.])$”, “1.
    but after applying it added an unwanted extra to the end of the selection.
    [/font]

    RC 5 addressed this issue. Please try again with RC 5. Thank you!

    in reply to: Just a small issue… #6598
    Yutaka Emura
    Keymaster

    zhouzh2 wrote:
    8.0RC4

    I don’t have this issue. In the HTML Bar Properties, is the “Automatically display the HTML Bar for selected configurations” checked? What is “blank” toolbar? Is it possible to show us a screenshot?

    in reply to: Just a small issue… #6596
    Yutaka Emura
    Keymaster

    zhouzh2 wrote:
    Not a big deal…
    1. Open Emeditor, “file”-“new”-“HTML file”, now the HTMLbar automaticly appears, which was fine.
    2.”file”-“new”-“C/C++ file(or something else)”, Emeditor create a new tab for this file, and HTMLbar disappears.
    3.switch to previous HTML tab, notice the HTMLbar doesn’t automaticly appears.
    4.switch back to C++ tab, a “blank” toolbar appears.

    Which version of EmEditor are you using?

    in reply to: How many vertical selection bugs in EmEditor? #6594
    Yutaka Emura
    Keymaster

    visitor wrote:
    What about this bug? 8.00 RC4 still has it.

    I am not sure exactly what the issue is. Can you write more in details?

    in reply to: "Save Cursor Position and Bookmarks" bug #6592
    Yutaka Emura
    Keymaster

    webern wrote:
    Sorry for my mistake and big thanks for the solution. I just found the reference in the Help-file.
    But, would you like to redesign this feature to allow user specify the files for which C&B positions will be saved?

    In the future, I might add that feature. Thanks!

    in reply to: Is it possible to config Outline Plug-in to act like this? #6591
    Yutaka Emura
    Keymaster

    zhouzh2 wrote:
    Yes, the lastest RC4 works. Beautifully done!
    Just one more question: why “blank” works but regex “^n” doesn’t? IMHO they should be the same.

    When the plug-in compares each line with a regular expression, each line does not contain a new line. Thus, regular expressions should not contains “n”.

    in reply to: grab text not working #6590
    Yutaka Emura
    Keymaster

    mai wrote:
    yes it is, after i enabled the try icon its working now, thanks
    but i think it is better to let the user know the tray icon must be enabled in order to use the grab text feature.

    We will add the explanation to the video. Thanks!

    in reply to: grab text not working #6586
    Yutaka Emura
    Keymaster

    mai wrote:
    after searching and looking at the settings for a long time, i still could not get it working,

    Is the EmEditor Tray Icon displayed?
    Check “Shortcut Key to Grab Text with EmEditor” n the Customize Tray Icon dialog box.

Viewing 25 posts - 2,826 through 2,850 (of 3,701 total)