Forum Replies Created

Viewing 25 posts - 101 through 125 (of 345 total)
  • Author
    Posts
  • in reply to: Restore Selection #18548
    Stefan
    Participant

    Thanks for answer, Yutaka.

    ” incorporate to Undo” sounds fine. Good idea.

    I am only afraid that we can lose an selection on other occasions too (not only after doing an real action).
    E.g. by mistakenly clicking elsewhere after a long, carefully done selection over many “pages”.
    That’s why I developed the above suggestion.
    But restoring selection on Undo would just work fine for the majority of cases, I guess..
      
     
     

    in reply to: Restore Selection #18545
    Stefan
    Participant

    Hi Yutaka,

    have you reviewed this suggestion if you can implement this?

    New option like “[X] Remember Last Selection
    If a selection is made, store the current selection coordinates to RAM.

    New menu entry “Restore last Selection
    New Macro option document.selection.SelectLast();

     
    I would love to get this improvement.

      
    Thank you for making EmEditor.

    in reply to: Searching limited groups of lines issue #18520
    Stefan
    Participant

    Hi Tim,

    I have not tried yet to understand what you want to do or if your expression is correct,

    but concerning your “dot not matching new line character,” issue,

    go and check the search settings, e.g. via “[Customize…]” button.

     
     

    in reply to: Test Alignment #18493
    Stefan
    Participant

    After two years still no answer from Yutaka (http://www.emeditor.com/forums/topic/text-alignment/)
     
     
    So you may want to try that macro > http://www.emeditor.com/forums/topic/vertical-align-all-selected-lines-at-an-given-sign/

     
     

    in reply to: Can't enter a quote with following with space #18486
    Stefan
    Participant

    Hmm, this could be a macro with event “Character Inserted” or like that.
    Check menu “Macros > Customize…” if there is a macro listed which have a event assigned.

     
    Or perhaps you run a “automation” tool like AutohotKey or like that.
    Check from Task Manager (Crl+Shift+Esc)
     
     
    Are you the only one who work on this PC? ;D

     
     I get no better ideas right now…

    in reply to: Can't enter a quote with following with space #18481
    Stefan
    Participant

    Hi Bob,

    I never encounter this problem.
     
    This looks like you have set a snippet(*) with a quote mark as trigger?
     
    And, you should always mention your environment to help tracking this down:
    OS?, Bitness?, Language?, EE version?, portable or installed? Which configuration/Syntax? Where do you enter the quote? …? …?
     

    (*) = http://www.emeditor.com/text-editor-features/extensibility/plug-ins/snippets/
    .

    in reply to: Parallal edit function #18391
    Stefan
    Participant

    Sort of. But it is not very well implemented:

    – Have at least two documents open
    – Then utilize “Windows” or tab context menu > “New Vertical Group”

    You will get two EE windows side-by-side open.

    .

    .

    in reply to: How to delete empty lines by macro? #18384
    Stefan
    Participant

    That is because we are trying to match
    “Start-of-line, none-or-more whitespace, Linebreak”
    “^\\s*\\n”
     
     But the very last line didn’t have a linebreak at all.
     
     

    Better is to match
    “Linebreak, none-or-more whitespace, End-of-line”
    “\\n\\s*$”

    document.selection.Replace(“\\n\\s*$”,””,eeFindNext | eeReplaceSelOnly | eeReplaceAll | eeFindReplaceRegExp);

    – – – 
     

    Or, for really empty lines only (don’t remove those with whitespace)
    “Linebreak, End-of-line”
    “\\n$”

    document.selection.Replace(“\\n$”,””,eeFindNext | eeReplaceAll | eeReplaceSelOnly | eeFindReplaceRegExp);

     
     

    in reply to: EmEditor Professional v14.4.0 beta 1 released! #18155
    Stefan
    Participant

    Yutaka wrote:

    P.S. We are adding outlining features now. Please post any feature requests especially regarding outlining.

    Here are my suggestions:

    1.) a double click at a collapsed line in the Outline bar
    should toggle the expand-state of the collapse-region in document:
        If region is expanded, collaps it.
       Else expand it.
    (Maybe additionally hold a modifier key like CRTL for to execute that action)

     
    2.) Extra nice would be an additional option:
       [X] on expanding an top-level region, collapse all other top-level regions

     
    3.) Please add a sixth outline type: Paragraph (This type has no levels at all)
    Just take whole paragraphs as collapsing region:
     
    ——————————————————-
    Type: [Paragraph (empty lines delimited) ]
    ——————————————————-
     
    [-] Paragraph one with some lines.
       Paragraph one with some lines.
       Paragraph one with some lines.
       Paragraph one with some lines.

    [+] Paragraph two with some lines.

    [-] Paragraph three with some lines.
       Paragraph three with some lines.
       Paragraph three with some lines.

    [-] Paragraph four with some lines.
       Paragraph four with some lines.
       Paragraph four with some lines.

    [+] Paragraph five with some lines.

    [+] Paragraph six with some lines.

    ——————————————————-

    in reply to: Paste as HTML code #18153
    Stefan
    Participant

    For others with same interest;

    in the meantime I utilize JavaScript to paste HTML format from clipboard, seems to work fine for me.
     

    EmEditor JavaScript macro:

    // get HTML formated clipboard content:
    strOUT = clipboardData.getData("html");	
    
    // if there is no HTML formated clipboard content, get plain TEXT content:
    if( strOUT == "" ){
    	strOUT = clipboardData.getData("text");
    	status = "TextApe: No HTML format found. Will paste pure text.";
    }else{
    	status = "TextApe: HTML format found and pasted.";
    }
    
    // write to document:
    document.selection.text = strOUT ;
    

     
     
    Until I got this idea, I utilized Peters ‘Windows clipboard raw viewer’ to get the HTML format.
    http://www.peterbuettner.de/develop/tools/clipview/
    Thanks, Peter.
    .

    in reply to: Multiple Select #18092
    Stefan
    Participant

    Aha! Thanks. :D

    in reply to: Multiple Select #18073
    Stefan
    Participant

    I could multiple select the cursor at the end of “cat” and “dog” and then simply type “s”

    Ctrl+LeftClick behind “cat”, the space is selected.
    Ctrl+LeftClick behind “dog”, the space is selected. (there have to be one)
    Just type “s  “.
    Done.
     
     
     

    in reply to: Multiple Select #18066
    Stefan
    Participant

    Well, “Multi Selection” is for doing multiple selections.
     
    Just Ctrl+LeftClick will do maybe nothing, depending perhaps on the setting. (don’t know)
    For me Ctrl+LeftClick will select a whole word.
    Ctrl+LeftClick again, or Ctrl+Selection will select additional portions of text. That what it is for.
     
    Have you enabled Multi Selections? > Tools Customize > Edit
     
    I don’t know what you expect should happen?
    Maybe take a look (It’s not easy to find anymore on the new forum, but with G00gle it is findable):
     
    New in Version 13: Multiple Selection Editing
    http://www.emeditor.com/text-editor-features/history/new-in-version-13/
     
    Upcoming new feature: Enhanced Multiple Selections
    http://www.emeditor.com/tag/v13-1/

    in reply to: Insert Numbering – Padding #18065
    Stefan
    Participant

    Yes, this is already possible:
     
    just add the wanted amount of zeros
    in front of the start number in the “First Line:” box
    of the Insert Numbering dialog (Alt+N)
     
    “First Line: [01        ]”
     
     

    in reply to: Align Left in x64 #17978
    Stefan
    Participant

    Hi Fish,

    if you didn’t find such a Plugin in the Library at http://www.emeditor.com/library/#toggle-id-6
    it is because nobody have made such a Plugin.
    .
    .

    But why do you need such a Plugin at first place?

    As I read the description “Align Left plug-in: Removes the spaces at the beginning of each selected line.”
    me think you can do this by utilizing a macro too.

    document.selection.Replace(“^\\s+”,””,eeFindNext | eeReplaceAll | eeReplaceSelOnly | eeFindReplaceRegExp);

    Such macro you can launch by main or context menu, by menu bar button or by keyboard shortcut.
    If you need more help,… just ask.

    in reply to: Any way to separate data by bytes? #17837
    Stefan
    Participant

    I do not understand what you are after, no1.

     
    Can you explain in more detail? Best with before/after examples and which rules to attend.
     
    BEFORE:
    xxxxxx
    AFTER;
    xx; xx; xx; 
     

    Stefan

    in reply to: Optional CLOSE modified Document WITHOUT ask for SAVING #17836
    Stefan
    Participant

    I could had sworn that that happens :D
     
    I have searched but of course not there:

     
    Help > Keyboard Map…
    Search for “close”
    Right click at “Close without Save
    Assign shortcut key like Ctrl+Alt+W
    OK
    [X]
     
    Done!
      
     
    Ctrl+Alt+W, W, W, W, W, W, W…
    Wonderful!
    Thank you Andreas for the hint. :thumpsup:

    in reply to: Syntax Highlight Guidelines #17832
    Stefan
    Participant

    Hi blackhawk,

    me think there is no rule which keywords should be highlighted in which special color.
     

    Just do like you want, maybe take an existing color scheme as basic to get some ideas.
    There are some web pages displaying colorschemes for various languages, used by Textmade and VIM, take that for more ideas.
    http://textmatetheme.com/
    https://code.google.com/p/vimcolorschemetest/

    BTW, the highlight colors [1], [2],… can be defined in the [Display] tab as Highlight (1), Highlight (2),…

     
     
    >>>” I don’t want to customize this for one language and then have all the rest look like crap.”
    If you utilize “Tools > Properties for Current Configuration”, you will work
    only on the settings for one syntax highlighting profile. The other languages are not affected then.
     
     
    HTH?

    (   BTW, I answered your question one hour before you actually asked it [see posting timestamps]     :D  )

    in reply to: Nice to see changes happen in forum #17801
    Stefan
    Participant

    Stefan wrote

    I hope you have planed to add “Last post at %date% %time% by %user%” behind each topic of the Recent Topics list too.

     
    I can see this feature implemented if I browse this forum with an Android Tablet, but not with SmartPhone and Firefox on PC.
     
    Is this still planned to implement or is this an bug?

     

    in reply to: Store and Load your Favorite Find and Replace pattern #17800
    Stefan
    Participant

    Another tip:

    To add a name or an hint to your stored regex, you can utilize “Named Groups” feature in the .Net framework syntax:
     

    If your regex has many groups, keeping track of their numbers can get cumbersome.
    Make your regexes easier to read by naming your groups
    (?<name>pattern) or (?’name’pattern)
    (pasted from http://www.regular-expressions.info/named.html)

      
     
    We just use that “Named Group” feature to add an comment to our regex pattern,
    we even utilize that “Named Group” feature without adding an regex pattern to it, but just using the comment feature.
      
     
    Example:
     
    (?<Match Two Digits>)\d\d
    or
    (?<Match Two Digits>\d\d)
     
     
    More  Examples
    (?’Match Date’)\d{1,2}-\d{1,2}-\d{4}
    (?<Match IP address>)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
     
     
    If you use this feature to add an comment to your stored regular expression pattern,
    you will better memorize later on what this was made for ;-)
     
    HTH?

    in reply to: Restore Selection #17799
    Stefan
    Participant

    Maybe this makes it into EmEditor v14? :D
     
    Hi Yutaka,
     
    what do you think about this feature request?
     
    New option like “[X] Remember Last Selection”
    New menu entry “Restore last Selection”
    New Macro option document.selection.SelectLast();
     
    Explanation:
     
    If a selection is made, store the coordinates to RAM.
    With “Restore last Selection” we would be able to recreate that selection again.
     
    That is often nifty because the selection is always destroyed after we do an action.
      

     
    Maybe you can even store the last coordinates to file settings?
     
     
     
    Thank you for making EmEditor

    in reply to: Nice to see changes happen in forum #17780
    Stefan
    Participant

    FYI, The transfer to the new forum had removed backslashes from the code block.
    ..

    See for example last post from thread >>> http://www.emeditor.com/forums/topic/convert-special-characters-to-english-characters/

    	// A find'n replace using regular expression 	// (in selected range only).
    	currentSelection.Replace("\n", "\n\n", eeReplaceSelOnly | eeReplaceAll | eeFindReplaceRegExp);
    

    has become:

    	// A find'n replace using regular expression 	// (in selected range only).
    	currentSelection.Replace("n", "nn", eeReplaceSelOnly | eeReplaceAll | eeFindReplaceRegExp);
    

    ..
    ..
    .

    in reply to: Suggestioin on box-editing #17779
    Stefan
    Participant

    Update for EmEditor v14 ( See http://www.emeditor.com/text-editor-features/history/new-in-version-14/ )

    .
    Stefan> At the end of line I can’t make a selection to the left.
    That works now.

    .
    Stefan> I also can’t move the working point (the zero-width selection line) anymore after I have typed something,
    That works now. (by pressing ESC-key once to escape selection and enable “move mode”)

    .
    Stefan> * Backspace, to delete to the left, works on EOL only, not in the middle of the line.
    That works now too.

    .
    Stefan> * Del, to delete to the right, works nowhere with an zero-width selection only.
    That works now (after pressing DEL a second time)

    .
    Thank you Yutaka.

    in reply to: Please add the ability to swap lines #17778
    Stefan
    Participant

    This is implemented now, see:

    http://www.emeditor.com/text-editor-features/history/new-in-version-14/

    The Move Line Up and Move Line Down commands were added.
    By default, these commands were assigned as CTRL + SHIFT + UP and CTRL + SHIFT + DOWN.
    If these shortcut keys don’t work, please go to Configuration Properties, Keyboard tab, and click Reset, or assign your favorite shortcut keys to these commands.

    Thank you, Yutaka.

    Find me: transpose lines move line up move lines down switch lines

    in reply to: EmEditor Professional v13 Missing Features #17777
    Stefan
    Participant

    I was able to test a bit that “Enhanced Multiple Selections” feature and think it works very well.

    Thank you, good work, well done.

    .

    All the best for the new year to you and everyone.

    .
    .

Viewing 25 posts - 101 through 125 (of 345 total)