UltraEdit

From Omnia
Revision as of 21:08, 22 August 2016 by Kenneth (talk | contribs) (→‎Python)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

custom keymapping

UltraEdit keymapping and custom hotkeys power tip - http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/keymapping.html

Note: I used this to add keymapping of [Ctrl]+[/] to Edit -> Comment Selection.

Tabs and spaces

UltraEdit text editor word wrap and tab settings for different file types - http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/configure_word_wrap_tab_settings.html

IDM Computer Solutions, Inc. Forums • backspacing over a tab width? - http://www.ultraedit.com/forums/viewtopic.php?f=2&t=3698

Answer no, not without a custom macro

IDM Computer Solutions, Inc. Forums • Trying to code a "back tab" - http://www.ultraedit.com/forums/viewtopic.php?f=10&t=3143

shift-tab macro:

InsertMode
ColumnModeOff
HexOff
UnixReOn
IfSel
Find RegExp "^\t"
Replace All SelectText ""
Find RegExp "^    "
Replace All SelectText ""
Else
Key BACKSPACE
Key BACKSPACE
EndIf

Backspace Macro

Edit Macro:

Quad Delete: (assigned to ctrl+delete key)

InsertMode
ColumnModeOff
HexOff
Key BACKSPACE
Key BACKSPACE
Key BACKSPACE
Key BACKSPACE

Python

Fixing tabs to spaces.

  • Advanced -> Configuration... -> Editor -> Word Wrap/Tab Settings
  • Change list... -> "py" -> Add -> OK
  • Select extention dropdown -> py
  • [X] use spaces in place of tabs
  • Tab stop value: 4
  • Indent spaces: 4

python 2.5 - http://www.ultraedit.com/files/wf/python25.uew

python 2.6 & 3.0 - http://www.ultraedit.com/files/wf/python26.uew

References:

Reload File

Reload / Refresh / Revert current file:

  • File -> Revert to Saved

Spell Check

  • Advanced -> Configuration... -> Spell Checker -> Miscellaneous -> [X] Enable spell as you type

Backup

  • Advanced -> Configuration... -> File Handling -> Backup -> Default backup directory: C:\Users\kburgener\UltraEdit\

Unix default file type

  • Advanced -> Configuration... -> File Handling -> DOS/Unix/Mac Handling
    • Default file type for new files: Unix

Don't reload last session

  • Advanced -> Configuration... -> File Handling -> Load -> [ ] Reload files previously open on startup

wordfiles

worldfiles have a '.uew' extention.

To add one of these wordfiles to your syntax highlighting download to:

%appdata%\IDMComp\UltraEdit\wordfiles

References:

Fitts's Law

Sent email, but have not received a response yet

Forum: https://www.ultraedit.com/forums/viewtopic.php?f=3&t=15239#p51832

Keep UltraEdit from changing permissions when it saves a file

IDM Computer Solutions frequently asked questions - http://www.ultraedit.com/support/faq.html

How do I keep UltraEdit from changing permissions when it saves a file?

Please go to Advanced -> Configuration -> File Handling -> Advanced and select "Copy file instead of using rename when creating backup file"

Find Lines Longer than 80

Fine > Regular Expression > Perl Engine

.{80}.+
.{120}.+
.{80,}
.{120,}

Or use Column Markers

Column Markers

Display a visual indentation guide vertically in the background of the editor - http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/column_markers.html

Set column marker at 80 or 120.

Windows Explorer Integration

"You can integrate UltraEdit/UEStudio into the top-level of the right-click context menu in Explorer by checking (enabling) the "Integrate with Explorer as" option in Advanced : Configuration : File Associations."

Windows Explorer Integration - http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/windows_explorer_integration.html

---

ultraedit-context-menu-32bit.reg:

REGEDIT4
 
[HKEY_CLASSES_ROOT\*\shell\UltraEdit]
@="UltraEdit"
 
[HKEY_CLASSES_ROOT\*\shell\UltraEdit\command]
@="\"C:\\Program Files (x86)\\IDM Computer Solutions\\UltraEdit-32\\uedit32.exe\" %1"

ultraedit-context-menu-64bit.reg:

REGEDIT4
 
[HKEY_CLASSES_ROOT\*\shell\UltraEdit]
@="UltraEdit"
 
[HKEY_CLASSES_ROOT\*\shell\UltraEdit\command]
@="\"C:\\Program Files\\IDM Computer Solutions\\UltraEdit\\uedit64.exe\" %1"

UltraEdit Vista x64 Context Menu Fix - MarsBox.com - http://marsbox.com/blog/howtos/ultraedit-vista-x64-context-menu-fix/

keywords