Forum Replies Created

Viewing 25 posts - 1 through 25 (of 3,545 total)
  • Author
    Posts
  • in reply to: Hide / collapse column (in CSV / Cell Selection mode) #28303
    Yutaka Emura
    Keymaster

    The Hide Columns and Unhide Columns commands are now available on EmEditor v21.9.

    Thanks,

    in reply to: How to hide some columns temporarily in CSV mode? #28302
    Yutaka Emura
    Keymaster

    The Hide Columns and Unhide Columns commands are now available on EmEditor v21.9.

    Thanks,

    in reply to: Freeze Pane Request #28301
    Yutaka Emura
    Keymaster

    The Toggle Headings (Freeze Panes) and Row Headings 0-4 commands are now available on EmEditor v21.9.

    Thanks,

    in reply to: Search and Replace Number Count #28286
    Yutaka Emura
    Keymaster

    You should be able to see the information on the Status bar, at the bottom of the EmEditor window.

    in reply to: “Previous/Next Change buttons” problem #28278
    Yutaka Emura
    Keymaster

    I’ve reproduced this issue, and will fix it on the next version. Thank you.

    in reply to: Paste from multiple selection overwrites text #28275
    Yutaka Emura
    Keymaster

    The vertical selection paste is a “must” for CSV documents. Thus, this feature must be on by default at least for CSV documents. I might think about separate default options for non-CSV documents as well as other options in the future. Just so you know, everyone has different opinions and feature requests, and I respect all of them.

    in reply to: Paste from multiple selection overwrites text #28273
    Yutaka Emura
    Keymaster

    I believe the current behavior (vertical selection paste) was requested by a user, and it is useful especially when you work on CSV. It is also useful for programming langauge code when you want to paste multiple strings.

    For instance, suppose you have an array of strings in a source document:

    
    a : xxx
    b : xxx
    c : xxx
    d : xxx
    e : xxx
    

    And you have a programming language code in a destination document:

    
    s[0] = 
    s[1] = 
    s[2] = 
    s[3] = 
    

    You want to copy

    
    a
    b
    d
    e
    

    to the right side of equal symbols (=) vertically in the destination document.

    In this case, an easiest way is to place the cursor at the left side of a in the source document, press CTRL+SHIFT+DOWN 4 times, press SHIFT+RIGHT. At this point, you can optionally click on any unwanted string (c) while pressing CTRL. Press CTRL+C to copy. Then place the cursor at the right side of the first = in the destination document, and press CTRL+V to paste.

    In this case, the current behavior is useful.

    However, I understand your situation, and I will think about a new Paste feature (you can select how to paste on the fly) in the future.

    in reply to: Paste from multiple selection overwrites text #28271
    Yutaka Emura
    Keymaster

    If the Always insert newlines when copying multiple selections option (Customize dialog box – Edit page) is on, the current behavior should be:

    
    should1
    behaviour2
    selection3
    basis4
    5
    

    If the Always insert newlines when copying multiple selections option (Customize dialog box – Edit page) is off, the current behavior should be:

    
    shouldbehaviourselectionbasis1
    2
    3
    4
    5
    

    To paste like your expected result, you should paste to another new document, copy and paste again, and then paste to the document.
    Or, you can run the macro at https://www.emeditor.com/forums/topic/multi-copy-and-paste-workflow/, and select the first item to paste.

    If you would like, I will think about your feature request in the future.

    in reply to: Paste from multiple selection overwrites text #28269
    Yutaka Emura
    Keymaster

    To clarify your question, can you please write your expected result in this sample?

    in reply to: Paste from multiple selection overwrites text #28267
    Yutaka Emura
    Keymaster

    I might be misunderstanding your question. Can you please write a procedure to reproduce the issue here with a simplified sample? Please include your expected result vs current result.

    in reply to: Paste from multiple selection overwrites text #28264
    Yutaka Emura
    Keymaster

    I can now see your video. However, I believe this is an expected behavior. The strings below (3 of them) are NOT overwritten. New strings are inserted before the existing strings.

    in reply to: EmEditor v21.8 beta (21.7.901-) #28257
    Yutaka Emura
    Keymaster

    Hi hihihlo,
    I will fix this issue on v21.7.914.
    Thanks for your report.

    in reply to: Paste from multiple selection overwrites text #28256
    Yutaka Emura
    Keymaster

    No, the link does not work from my environment.

    Yutaka Emura
    Keymaster

    I’ve reproduced this issue, and it will be fixed on the next version. Thank you.

    Yutaka Emura
    Keymaster

    Which version of EmEditor are you using? The latest version is v21.7.911.
    If the Search All Documents in the Group option is set in the Find dialog box, please clear it.

    in reply to: Manipulating cells in tab separated mode #28241
    Yutaka Emura
    Keymaster

    You can drag and drop selected cells if you drag the border of the selection.
    If you would like to use a macro, please see:

    https://stackoverflow.com/questions/72427501/optimised-function-to-copy-columns-of-selected-data-by-a-variable-amount-up-dow

    in reply to: Manipulating cells in tab separated mode #28235
    Yutaka Emura
    Keymaster

    There are commands called “Insert Line Before”, “Insert Line After”, “Insert Column Left”, and “Insert Column Right” commands.

    in reply to: Remove leading, trailing, multiple spaces #28234
    Yutaka Emura
    Keymaster

    You can record these commands to macros, and combine them to one macro. These commands remove two or more spaces.

    in reply to: Multi-copy and paste workflow #28230
    Yutaka Emura
    Keymaster

    Did you select any item in the menu to paste the selected item and all above items?

    in reply to: Multi-copy and paste workflow #28226
    Yutaka Emura
    Keymaster

    As for the delimiter in the macro, you can change the delimiter at the first line of the macro.

    in reply to: Paste from multiple selection overwrites text #28225
    Yutaka Emura
    Keymaster

    Can you please write an example to explain the issue?
    Thanks,

    in reply to: Go to top/bottom buttons in Macros Menu #28224
    Yutaka Emura
    Keymaster

    Hello,

    You can right-click on the list box to show the menu that includes “Top” and “Bottom”.

    in reply to: Multi-copy and paste workflow #28219
    Yutaka Emura
    Keymaster

    You can write a macro to do this:

    
    sDelimiter = "|";  // delimiter to separate clipboard items
    
    menu = CreatePopupMenu();
    i = 0;
    do {
        str = clipboardData.getData("text", i);
        if( str.length == 0 ) break;
        str = str.substr( 0, 40 )
        menu.Add( str, i + 100 );
        i++;
    } while( 1 );
    
    result = menu.Track( 0 );
    if( result != 0 ) {
        iMax = result - 100;
        str = "";
        for( i = 0; i <= iMax; ++i ) {
            if( str.length != 0 ) {
                str += sDelimiter;
            }
            str += clipboardData.getData("text", i);
        }
        document.write( str );
    }
    

    Please see getData Method of ClipboardData:
    http://www.emeditor.org/en/macro_clipboarddata_getdata.html

    in reply to: How to process multiple selections? #28214
    Yutaka Emura
    Keymaster

    If the Auto-Complete Brackets/Quotation Marks option is set, you can simply type [.

    However, I know you want to write a macro to process multiple selection scenarios. Here is an example:

    
    sInsertBefore = "[";
    sInsertAfter = "]";
    var axT = [];
    var ayT = [];
    var axB = [];
    var ayB = [];
    
    Redraw = false;
    CombineHistory = true;
    nCount = document.selection.Count;   // retrieves the number of selections
    for( i = 1; i <= nCount; ++i ) {     // loop through multiple selections
    	x = document.selection.GetTopPointX( eePosLogical, i );  // retrieve x of the left side of each selection
    	axT.push( x );
    	y = document.selection.GetTopPointY( eePosLogical, i );  // retrieve y of the left side of each selection
    	ayT.push( y );
    	x = document.selection.GetBottomPointX( eePosLogical, i );  // retrieve x of the right side of each selection
    	axB.push( x );
    	y = document.selection.GetBottomPointY( eePosLogical, i );  // retrieve y of the right side of each selection
    	ayB.push( y );
    }
    
    for( i = nCount - 1; i >= 0; --i ) {
    	document.selection.SetActivePoint( eePosLogical, axB[i], ayB[i] );   // set the cursor to the right side of each selection
    	document.selection.Text = sInsertAfter;    // insert ']'
    	document.selection.SetActivePoint( eePosLogical, axT[i], ayT[i] );   // set the cursor to the left side of each selection
    	document.selection.Text = sInsertBefore;   // insert '['
    }
    
    in reply to: JSON Lines document type #28212
    Yutaka Emura
    Keymaster

    I asked the developer of CSS HTML Validator. He wrote the next update of CSS HTML Validator (not Lite version included within EmEditor) will include support for JSON Lines syntax checking. If you haven’t already, you can buy a license with the discount here:
    https://www.htmlvalidator.com/emeditor/

Viewing 25 posts - 1 through 25 (of 3,545 total)