Keyboard Shortcuts for Applying or Unbinding Styles?

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
beagley
Sr. Propeller Head
Posts: 182
Joined: Tue May 06, 2008 1:33 pm
Location: Vermont

Keyboard Shortcuts for Applying or Unbinding Styles?

Post by beagley »

Three questions:

1. As I am pasting and modifying TONS of old HTML articles, is there a keyboard shortcut for, "Apply the last style I just applied?"

I've noticed that when the Styles panel is open, the last style I applied is bordered in orange, as if Flare is anticipating that I might want to apply that style over and over... which made me think there might be a keyboard command to evoke it.

2. Is there a keyboard shortcut for "Unbinding"?

To remove a style, I have to click on the bar, select Edit, then select "Unbind". I sure wish I could hold down a keyboard combination and click on the bar of the style I want to unbind and have it just drop away. That would be so much quicker!

3. Any OTHER advice on speeding up the removal and/or addition of style elements?

Thanks!

-Douglas
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Keyboard Shortcuts for Applying or Unbinding Styles?

Post by LTinker68 »

beagley wrote:I've noticed that when the Styles panel is open, the last style I applied is bordered in orange, as if Flare is anticipating that I might want to apply that style over and over...
I think it's highlighting the style of the tag you're currently in.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
beagley
Sr. Propeller Head
Posts: 182
Joined: Tue May 06, 2008 1:33 pm
Location: Vermont

Re: Keyboard Shortcuts for Applying or Unbinding Styles?

Post by beagley »

Nope, it is not highlighting the style of the cursor location.

It is highlighting the last style I applied. With an orange box. The style stays highlighted as I click in all kinds of places on my topic.

There may NOT be a keyboard shortcut for applying it, of course. It just seems like there must be, since the programmer went to the trouble of putting in the highlight.

(For clarification, I am referring to the "Styles" panel that appears when I press F12)
KevinDAmery
Propellus Maximus
Posts: 1985
Joined: Tue Jan 23, 2007 8:18 am
Location: Darn, I knew I was around here somewhere...

Re: Keyboard Shortcuts for Applying or Unbinding Styles?

Post by KevinDAmery »

A quicker way to unbind things: if you have the View > Show > Caret Tag Neighbourhood option turned on, when you click on a word the tag groups that apply to it are shown as boxes surrounding the cursor. You can then click on the appropriate box to get a context menu of functions you can do to that tag (i.e. unbind, select, etc.)
Until next time....
Image
Kevin Amery
Certified MAD for Flare
scott
Propeller Head
Posts: 81
Joined: Tue Jan 03, 2006 6:35 pm
Location: miami
Contact:

Re: Keyboard Shortcuts for Applying or Unbinding Styles?

Post by scott »

Hi Douglas,
You can use Shift-Ctrl-H to open the Style Picker dialog box. If the style you want to use is already highlighted, just press Enter. Otherwise, you can type the first letter of the style (for example, "h" for h1) to quickly select a style.

As for unbinding, you can right-click anywhere inside the link or content and select Unbind. That might be easier than clicking inside the block bar.

Those aren't quite keyboard shortcuts, but they might help speed things up for you.

hope this helps!
Scott DeLoach
Certified Flare trainer/consultant - http://www.clickstart.net
* MadCap Flare: The Definitive Guide
* CSS to the Point
* HTML5 to the Point
https://bit.ly/2LQN11O

scott@clickstart.net
Certified MAD for Flare
KevinDAmery
Propellus Maximus
Posts: 1985
Joined: Tue Jan 23, 2007 8:18 am
Location: Darn, I knew I was around here somewhere...

Re: Keyboard Shortcuts for Applying or Unbinding Styles?

Post by KevinDAmery »

scott wrote:As for unbinding, you can right-click anywhere inside the link or content and select Unbind. That might be easier than clicking inside the block bar.
Uhhh, really? Not on my copy you can't :wink:

I can unbind if I right click on a block indicator, but not if I right click in the text - I get a different context menu than the one with Unbind as an option.
Until next time....
Image
Kevin Amery
Certified MAD for Flare
scott
Propeller Head
Posts: 81
Joined: Tue Jan 03, 2006 6:35 pm
Location: miami
Contact:

Re: Keyboard Shortcuts for Applying or Unbinding Styles?

Post by scott »

Hi Kevin,
It should work fine. You aren't using Flare v1, are you? :)

You need to right-click inside the link or content to see the menu I mentioned. It works for drop-downs, expanding, and toggler links.

Image
Scott DeLoach
Certified Flare trainer/consultant - http://www.clickstart.net
* MadCap Flare: The Definitive Guide
* CSS to the Point
* HTML5 to the Point
https://bit.ly/2LQN11O

scott@clickstart.net
Certified MAD for Flare
KevinDAmery
Propellus Maximus
Posts: 1985
Joined: Tue Jan 23, 2007 8:18 am
Location: Darn, I knew I was around here somewhere...

Re: Keyboard Shortcuts for Applying or Unbinding Styles?

Post by KevinDAmery »

Ah, guess I misinterpreted what you meant by "content." To me, "content" is anything between any tag set (such as p, h1, li, etc.) I believe the OP is looking for a way to unbind any style, not just specialized ones (tho' I could be wrong....)
Until next time....
Image
Kevin Amery
Certified MAD for Flare
Doug Eaton
Propeller Head
Posts: 68
Joined: Tue Feb 19, 2008 9:47 am

Re: Keyboard Shortcuts for Applying or Unbinding Styles?

Post by Doug Eaton »

I ran into a similar challenge when importing an MSWord doc with multiple tables. All table cells were formatted with <p> bound to <td>. Here's the way I was able to unbind all the content in a table's cells at once:
1) Select the table rows and columns.
2) Right-click and select "Cell Content Style."
3) Pick the appropriate style (in my situation, it was <td>), and click OK.
All table cells now are formatted with the base style.
ArmandFrvr
Propeller Head
Posts: 29
Joined: Tue Jan 08, 2013 9:48 am

Re: Keyboard Shortcuts for Applying or Unbinding Styles?

Post by ArmandFrvr »

1) Select the table rows and columns.
2) Right-click and select "Cell Content Style."
3) Pick the appropriate style (in my situation, it was <td>), and click OK.
All table cells now are formatted with the base style.
OMG, thank you. I have a massive table full of <p> tags to convert.
mlezak
Propeller Head
Posts: 78
Joined: Thu Sep 30, 2010 9:40 am

Re: Keyboard Shortcuts for Applying or Unbinding Styles?

Post by mlezak »

I suggest that you look into buying a copy of Find & Replace (FAR HTML) to help you strip out old HTML tags quickly. I use it extensively when I'm bringing old RoboHelp projects into Flare.

Miriam
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: Keyboard Shortcuts for Applying or Unbinding Styles?

Post by doc_guy »

I think that keyboard shortcuts for styles would be an awesome feature for a future version of Flare. If you agree, post it as a feature request to MadCap:

https://www.madcapsoftware.com/feedback ... quest.aspx
Paul Pehrson
My Blog

Image
Post Reply