Tapatalk

Ctrl+J to join lines

Ctrl+J to join lines

1
NewbieNewbie
1

PostApr 25, 2025#1

UltraEdit  2024.3.0.13 64-bit, just recently upgraded from a years-old version, 24.10.0.35.  I just learned about this feature via a hint, but it only seemed to work via the menu. It seems Ctrl+J was assigned to Select Word instead. I take it this is because old default keyboard shortcuts (I don't think I ever set them manually before) were carried over? I was able to reassign Ctrl+J to Join Lines in Settings > Key Mapping.

Incidentally, as far as I've seen, the only noticeable items that did not carry over through the upgrade were the customized commands I had added to the toolbar, like Open from FTP and Revert to Saved. They were all gone and I started over with a default toolbar.
Clipboard01.png (4.79KiB)
Clipboard02.png (7.21KiB)

6,823625
Grand MasterGrand Master
6,823625

PostApr 26, 2025#2

Some default hotkey assignments changed in the last years. Users like me with a customized key mapping do not recognize such changes of default hotkey assignments after an upgrade or update because of the custom key mapping is always kept and does not change if the associated commands are all still available. The custom key mapping for a command stops working if a command is not available anymore at all in an updated version of UltraEdit which occurred very rarely in the last 20 years while all other hotkeys/chords continue working. Users of UE/UES without any custom hotkey/chord assignment may recognize a change of a default hotkey assignment after an upgrade of UltraEdit.

The hotkey Ctrl+J is assigned by default to the command Select word in UE v24.10.0.35. I have verified that with UE v24.10.0.35. The command Select word could be executed by default up to UE v26.00.0.24 by pressing Ctrl+J.

Ctrl+J is since UltraEdit for Windows v26.00.0.48 the default hotkey for the command Join lines. The command Select word does not have a hotkey assignment by default since that version of UltraEdit.

Please note that using the Key mapping configuration dialog once to add, change or delete a key assignment results in the creation of the *.uek file (*.kbd file on using a very old version of UE) in the directory of the currently used INI file. The file contains all current hotkey/chord assignments and not just the changes to the default assignments. The default key assignments are no longer used as long as there is the *.uek (or *.kbd) file. A click on the button Defaults in the Key mapping configuration window results in the deletion of the *.uek (*.kbd) file and therefore in using again the built-in default key assignments.

It is possible to start UltraEdit with custom hotkey/chord assignments (existing *.uek file) and click on the button Show key mapping in editor to get created a text file with all the hotkey/chord assignments to internal commands and currently loaded macros. The assignments of hotkeys/chords to scripts in the scripts list are unfortunately not in the text file. I requested that enhancement already some time ago. The created text file can be renamed now either in UltraEdit or after closing it in UltraEdit with a file manager like the Windows File Explorer. The text file is created also in the INI file directory which is by default %APPDATA%\IDMComp\UltraEdit. Exit now UltraEdit, open the INI file directory in a file manager and rename the *.uek file to something different so that UltraEdit cannot find it anymore on next start and uses therefore the defaults. Open the Key mapping configuration window, use again the button Show key mapping in editor and close the configuration window. Reopen the former created and renamed text file with the custom shortcuts and compare the two text files to see which key assignments are different in custom key mapping in comparison to the default key mapping. Exit UltraEdit and rename the UltraEdit key mapping file back to restore the custom key mapping. The text file with the default key mapping can be deleted now as not useful anymore while the other key mapping file with the custom key mapping is best added to the UltraEdit favorites list for opening it quickly to look up a hotkey/chord.