trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

add HotKeys for Highlighting in kate/kwrite?

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 09 Mar 2012 16:31:58 -0600
All,

  Does anyone know how we can currently assign a short-cut key in kate/kwrite to:

Tools > Highlighting > Scripts > Bash

(alt+t, h, r, b -- isn't what I was thinking)

  Or associate any of the other highlighting files with a short-cut? If there is
no way to do that, then it would be worth putting on the enhancement list.
Kwrite isn't that big of deal, but there are numerous times in kate where I will
have 10-20 files open that I would like to set with a syntax file without having
to mouse through Tools > Highlighting > Scripts > Bash that many times.

  We could either have a key that popped open the Tools > Highlighting menu and
gave the user the ability to scroll and select. Or, my preference, would be to
provide a configuration option under highlighting that would be a "Quick List"
that allowed the user to configure his "Top 10" syntax files that would pop up
with a shortcut and allow the user to select from the list of 10.

  It would need to be a katepart plugin to be available to both kate/kwrite, but
it shouldn't be that difficult to do.

  Worth an enhancement request? There are already shortcut options for just
about everything in kate, just not syntax...

-- 
David C. Rankin, J.D.,P.E.