File: \Student Resources\Website Development I\UltraEdit\jnotes-UltraEdit_forNHDOC.txt maintained by Jesse M. Heines ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ updated by JMH on April 12, 2022 at 1:28 PM To turn off automatic tag completion, (1) in the horizontal menu at the top of the window, click Advanced (2) click Settings in the Configure group to bring up Configuration dialog box (3) expand the Editor section by clicking the [+] sign next to Editor (if necessary) (4) click XML / HTML / Markdown (5) uncheck [ ] Automatically close XML/HTML tags To turn off image preview, (1) in the horizontal menu at the top of the window, click Advanced (2) click Settings in the Configure group to bring up Configuration dialog box (3) expand the Editor display section by clicking the [+] sign next to Editor display (4) click Miscellaneous (5) uncheck [ ] Display image tooltips ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ updated by JMH on January 15, 2022 at 9:19 AM NH DoC Licenses From: Ben at UltraEdit Sent: Friday, January 14, 2022 11:35 AM Subject: Re: Request for Licenses for Incarcerated People Hello Jesse, Thank you for reaching out, and we'd be honored to provide you with a complimentary license for your educational program within the department. I've generated an UltraEdit subscription license for you as follows. The subscription will last for two years. If you still need it after the two years, please reach out to us again. This subscription also includes UltraCompare Professional which you can use to compare and merge changes in your code or folders. License ID: 3940082 Password: UvULujEZe There are 8 activations available for this license. Use the same license ID and password on all of your systems. I hope this helps with your efforts! Kind regards, Ben Schwenk Product Manager ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Initial Setup (1) Set Theme to Classic Layout tab > Themes > Classic (2) Close Document Map View > [ ] Doucment map (3) Turn off active line highlighting View tab > Display groupl [ ] Active line highlight (4) Set additional views Layout tab > Views group > check the checkboxes for Macro List, then Template list, then ASCII table N.B. The checkboxes do not stay checked (5) Set Tabs to Spaces Advanced tab > Configure group > Settings > Configuration dialog box > Editor > Word wrap / tab settings [x] Use spaces instead of tabs Tab stop value: 2 Indent spaces: 2 (o) Wrap after column number: 90 (6) Set paragraph wrap column (not the same as the Word wrap column above) Format tab > Paragraph group > Setup... > Reformatting Options dialog box [x] Hanging indent Right margin (after # columns): 90 (7) Set Template and Macro directories Advanced tab > Configure group > Settings > Configuration dialog box > Directories set to \I-Drive\Kits\UltraEdit\ (8) Set macro autoload file Advanced tab > Macro group > Configure dropdown > Set macro for auto-load > Set Macro Auto Load on Startup dialog box Macro filename: D:\I-Drive\Kits\UltraEdit\j1.MAC (9) Set Find dialog box to always come up as the full dialog box Advanced tab > Configure group > Settings > Configuration dialog box > Key mapping Commands: Find Existing keys: Alt+F3 Press new (multi-)key: type Ctrl+F click Assign (10) Set window to full screen height Drag bottom right-hand corner to bottom of screen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To display all file tabs on multiple lines: https://www.ultraedit.com/wiki/File_tabs (1) right-click any file tab (2) pull right on "File tabs" (3) click "Multiline tabs" To change file encoding so that, e.g., music symbols appear as symbols, (1) move or resize the windows to make the bottom toolbar is visible (2) click the dropdown arrow next to the stated encoding (3) select Unicode -> UTF-8 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To prevent opening of previously opened files: (1) Advanced tab (2) Settings button in the Configure section (3) File handling -> Session options (4) uncheck: [ ] Reload files previously open on startup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To get long lines to word wrap at the window boundary or a specific line number without inserting a hard return: (1) Advanced (tab) -> Configure (group) -> Settings (2) Editor -> Word wrap / tab settings (3) [x] Default word wrap for each file (4) (o) Wrap at window edge or (o) Wrap at column # (and specify column number) (5) click Apply and OK (6) you *may* then have to restart UltraEdit Also note the "Word wrap" button on the View tab in the Display section. (This is probably what step 3 above turns on automatically for each file.) To replace telephone numbers formatted as: (123) 456-7890 with: 123-456-7890 using Perl-style regular expressions: Find what: "\((\d{3})\) "" Replace with: "$1-" To put a left angle bracket before every email address that follows a name using Perl- style regular expressions: Find what: " ([^ ]*\@)" Replace with: " <\1" To convert U8-DOS file to U-DOS, use: File -> Conversions -> Unicode to ASCII or UTF-8 to ASCII This changes the file type in the status bar from U8-DOS to U-DOS. Can also use my macro ConvertUni2ASCII This changes the file type in the status bar to simply DOS. Page Setup Header: File: &n &c &rPage &p Footer: left &c center &r%B %d, %Y Margin: all 0.5" Printer Font Lucida Sans Typewriter 9pt File format must be ASCII (status bar label DOS) for macro NumberLines to work properly To turn off loading of previous file on startup: Advanced -> Conguration... -> uncheck the option: File Handling -> Load -> [ ] Reload files previously open on startup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Simple use of backreferences see http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/perl-regular-expressions-backreferences.html Find what: ^(\d)$ finds a line containing only a single digit Replace with: \10% adds 0% to the digit ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To put a left angle bracket before every email address that follows a name using Perl- style regular expressions: Find what: " ([^ ]*\@)" Replace with: " <\1" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To switch default Home->Search->Quick Find (Ctrl+F) and Home->Search->Find (Alt+F3) key mappings: updated by JMH on October 30, 2018 at 10:26 AM for Version 25 Advanced menu -> Settings Key Mapping Find : Ctrl+F and Apply Quick Find : Alt+F3 and Apply previous versions Advanced menu -> Configuration Key Mapping SearchQuickFind : apply Alt+F3 SearchFind : apply Ctrl+F ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To turn OFF active line highlighting: View -> [Display section] -> [ ] Active line highlight ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To turn OFF saving file as input format: Advanced menu -> Configuration File Handling DOX/UNIX/Mac Handling [ ] Save file as input format (Unix/Mac/DOS) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ N.B. Version 17 has been installed on the maximum number of systems. Therefore, Version 16 is installed on Xcelsior. To turn off highlighting of the current line: Layout -> Themes -> Manage Themes ... [ ] Enable active line highlighting updated by JMH on October 29, 2018 at 4:32 PM To autoload templates: updated by JMH on June 16, 2020 at 9:26 AM Global templates are always available no matter which layout, project, or coding language you're using. Global templates are stored in the UETMPLTE.TPL file in the default templates directory (which is typically %APPDATA%\IDMComp\UltraEdit\templates on Windows), or the directory manually set in Settings ? Directories. https://www.ultraedit.com/wiki/Modify_templates#:~:text=Global%20templates%20are%20stored%20in,manually%20set%20in%20Settings%20%C2%BB%20Directories. updated by JMH on October 29, 2018 at 4:29 PM Alternatively, copy BOTH files UETMPLTE.DAT and UETMPLTE.TPL to C:\Program Files\IDM Computer Solutions\UltraEdit\. updated by JMH on March 31, 2013 at 6:31 PM As of v19, templates are now stored in file: C:\Users\Jesse\AppData\Roaming\IDMComp\UltraEdit\templates\UETMPLTE.TPL Simply placing my UETMPLTE.TPL file there autoloads the templates. This was still true as of January 25, 2015 at 1:15 PM. This was still true as of February 12, 2018 at 9:24 PM. OBSOLETE: As of v18, templates appear to be stored in: C:\Users\Jesse\AppData\Roaming\IDMComp\UltraEdit\templates\environment\Programmer.tp1 Therefore, on a new system, copy the current template file (was UETMPLTE.TPL or UETMPLTE.DAT) to there, overwriting the Programmer.tp1 file. updated by JMH on October 19, 2012 at 8:59 PM On Bonnie6, a Windows XP SP3 system, this file is in: C:\Documents and Settings\Bonnie\Application Data\IDMComp\UltraEdit\templates\environment\Programmer.tp1 ~~~~~~~~~~~~~~~~~~~~ On Vista and Windows 7, UltraEdit does not seem to use the directory set in: Advanced -> Configuration... -> Directories Template directory: and therefore cannot find the Templates file UETMPLTE.DAT when it is placed the directory specified there. Solution: (1) Select the Programmer environment under View -> Environments... (2) Copy the UETMPLTE.DAT file to: C:\Users\Jesse\AppData\Roaming\IDMComp\UltraEdit\Programmer.te1 The same issue exists on WinXP as of August 22, 2009. The only difference between what is written above and what must be done on WinXP is that UETMPLTE.DAT must be copied to: C:\Documents and Settings\Jesse\Application Data\IDMComp\UltraEdit\Programmer.te1 or, for some strange reason on Dolphin: C:\Documents and Settings\Jesse\Application Data\IDMComp\UltraEdit\IDMComp\UltraEdit\Programmer.te1 On Xcelsior, these files are: C:\Documents and Settings\Jesse.XCELSIOR\Application Data\IDMComp\UltraEdit\Programmer.te1 C:\Documents and Settings\Jesse.XCELSIOR\Application Data\IDMComp\UltraEdit\Programmer1.te1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To set macro autoload: XXX Macro -> Set Auto Load... Advanced -> [Macro Section] Configure (dropdown) -> Set macro for auto-load and then navigate to j1.MAC ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File -> Print Setup/Configuration -> Page Setup... Header: File: &n &c &rPage &p Footer: Prof. Jesse M. Heines &cUMass Lowell Computer Science &r%B %d, %Y Margin: all 0.5" Set Header/Footer Font: Tahoma Regular 10pt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ View -> Fonts dropdown > Set Font ... Lucida Sans Typewriter 10pt View -> Fonts dropdown > Set HEX/Column Mode Font ... Lucida Sans Typewriter 8pt View -> Fonts dropdown > Set Printer Font... Lucida Sans Typewriter 9pt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File format must be ASCII (status bar label DOS) for macro NumberLines to work properly ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To turn off loading of previous file on startup: Advanced -> Conguration... -> uncheck the option: File Handling -> Load -> [ ] Reload files previously open on startup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To make XML not change the case of opening tags to <title>: 2008-04-28 update #2: Yes, the previous solution still works if you open the right wordfile! Dexter: C:\Documents and Settings\Jesse\Application Data\IDMComp\UltraEdit\WORDFILE.UEW Philip: C:\WINNT\WORDFILE.UEW *** changed to: *** C:\Documents and Settings\Jesse\Application Data\IDMComp\UltraEdit\WORDFILE.UEW Xcelsior: C:\Documents and Settings\Jesse\Application Data\IDMComp\UltraEdit\WORDFILE.UEW Best practice is to open this file with: Advanced -> Configuration ... Editor Display -> Syntax Highlighting 2008-04-28 update: The previous solution does not work any longer. > From: IDM Computer Solutions [mailto:idm@idmcomp.com] > Sent: Monday, April 28, 2008 2:17 PM > Subject: Re: "Nocase" not working in UltraEdit 14.00a+1 > > Hello Jesse, > > Thanks for your message. This is actually a feature of UltraEdit. > You can disable this auto correction of keywords by going to > Advanced -> Configuration -> Editor Display -> Syntax Highlighting. > Uncheck the option for "Auto Correct Keywords." > > We appreciate your support of our software! > > Thanks, > Ben add the "Nocase" command word to the XML definition in file wordfile.txt: /L6"XML" Nocase XML_LANG Noquote Block Comment On = <!-- Block Comment Off = --> File Extensions = XML XUL XSD XSL XSLT from the Help file: Auto-Correct (Syntax Highlighting) If Syntax Highlighting is enabled UltraEdit will automatically (optionally) check each word against the keywords in the wordfile and if the word matches (except for the case of the word UltraEdit) will correct the word to match the case in the wordfile. For this to work the current file must be highlighted with Syntax Highlighting and the language as specified in the wordfile must NOT have the "Nocase" command word specified. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Page Setup Header: File: &n &c &rPage &p Footer: Prof. Jesse M. Heines &cUMass Lowell Computer Science &r%B %d, %Y Margin: all 0.5" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ========================================== License Information as of October 31, 2021, Version 28.20.0.70 ========================================== http://www.ultraedit.com/company/contact_us.html IDM Computer Solutions, Inc. 5559 Eureka Dr., Suite B Hamilton, OH 45011 +1 513-892-8600 (for placing orders only) Activate license by going to File > Enter license key (at bottom of the popup mmenu) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~