sstrubli wrote:I'm looking for a way to change the 'Tab Stop' and 'Indent Spaces' values, on-the fly, without altering the file I'm viewing, through the use of a macro or other means without having to navigate the menu tree. Ideally this would be something you could attach to a button on a toolbar or a hotkey.
I'm reviving this thread because I'd like to request exactly the same feature (still absent as of UltraEdit 15.20). Frequently I switch back and forth between source files from different third-party projects written in the same programming language. Different developers create code with different tab stops and changing between tab settings is something I do frequently. UltraEdit currently makes this extremely cumbersome because:
- I can't see what my current tab settings are, unless I go to Advanced -> Configuration -> Editor -> Word Wrap/Tab Settings (4 clicks - assuming I remember correctly which of the 10+ Configuration categories I'm looking for)
- I can't change the tab settings unless, likewise, I go through the 4-click process and then change 3 settings by hand (Use spaces in place of tabs, Tab Stop value, and Indent spaces)
- UE will only remember one set of tab settings per file extension, which is of no help when switching between projects written in the same language with different tab stops
Any or all of the following would be huge improvements here.
- Show an indicator of the current tab stop settings (e.g. SPC/4/4 or TAB/4/2) in the status bar, similar to the current insert/overwrite/caps lock/text file format indicators
- Provide a direct menu option or toolbar button for switching between user-defined tab settings
- Allow tab stop settings to be stored and loaded with project settings
- Allow tab stop settings to be changed directly using an UltraEdit JavaScript method, so I can create my own key shortcut/menu option/toolbar button
Renaming another developer's files to a different file extensions in order to work around UE's limitation here is, I think, an unworkable suggestion. Tab stops vary from project to project and UltraEdit settings should work the same way. At the very least, UE should make it possible to view and switch these settings without navigating to a configuration setting buried several layers deep.