Page 1 of 1

Unordered List shortcut

Posted: Mon Dec 02, 2013 11:49 pm
by TakeFlightGraphics
In Homesite, there is a right-click context menu that allows you to convert a selection to an unordered list. I made this function into a really great keyboard shortcut: CTRL L. In TopStyle 5, you only allow converting a selection to list items. Since this is one of my most used keyboard shortcuts, having to select and keyboard shortcut a selection twice and then strip out extra <li> tags really reduces my productivity.

I will not be able to use TopStyle for coding production work until this feature is added. So, back to Homesite for now.

Hope to see it in the next update if possible.

Thanks!

Re: Unordered List shortcut

Posted: Tue Apr 15, 2014 6:28 pm
by JSpav
I'm a former Homesite user too. TopStyle 5 has exactly the same function.

In TopStyle 5, click Options>Keyboard Shortcuts (or hit Ctrl-F8)
In the tabs, select 1. Standard actions

Scroll down to Convert selection to ordered list

Set your keyboard shortcut.

You can do the same for unordered list on the next line.

It will wrap your selected lines when you hit Ctrl-l (or whatever key combination you prefer):
<ul>
<li>Line 1</li>
<li>more lines</li>
<li>yet more lines</li>
</ul>

Just like Homesite did.

Re: Unordered List shortcut

Posted: Thu Jun 19, 2014 5:46 pm
by TakeFlightGraphics
Thank you! This is huge! You may have just saved me hours of searching for an HS replacement!

I have eyeballing SublimeText but reviews articulate that it's global find/replace is not as powerful and you still can't drag and drop files or images into the code. I can't believe that I am still using Homesite after all this time. However, I will keep exploring/configuring TopStyle 5 and hope to make it into a suitable replacement.