Still that would block other behavior. Also note that PageDown has a  
space-bar shortcut. Moreover, the fact that often some shortcuts are  
not used by a particular user is far from some functionality not  
being available. And as a result leads to inconsistent behavior. Also  
performKeyEquivalent may not work with non-command shortcuts.

And don't make illusions about users just understanding that! They  
*will* blame Skim if something won't work as they would expect.  
That's from experience with a program that has a much more  
specialized user target.

Christiaan

On 6 Sep 2007, at 3:18 AM, Twisted Theory Software wrote:

>
> I'm not talking about menu shortcuts, I'm talking about PDFView-
> specific text-movement commands, like page up/down, next/previous
> page, etc.  The keystrokes recognized by PDFView are in some cases
> not the best for laptop users: for example, the keyboard shortcut for
> page up requires two hands (function + up arrow).  I personally have
> never had a use for the nudge left/right commands; for me, these keys
> would be much more useful as page up/down.  Additionally, I very
> often go from reading a PDF to text editing with vi, so that using
> h,j,k,l with number modifiers for page motion is very natural.
>
> I understand about not wanting to overly complicate user
> preferences.  However, in the description of the program, it says
> "designed to help you read and annotate scientific papers": I don't
> think that fellow scientists would have much problem understanding a
> few more options.
>
> Josh
>
> On 5 Sep, 2007, at 2:08 PM, Christiaan Hofman wrote:
>
>> I really don't like adding customizable hot keys. Apart from the fact
>> that it requires extra preferences it is really of limited use for
>> Skim. Most events already have shortcuts. And menu events that don't
>> have them can be given shortcuts in the system preferences. Moreover
>> as there are already many events customization can easily lead to
>> conflicts.
>>
>> Christiaan
>>
>> On 5 Sep 2007, at 7:49 PM, Twisted Theory Software wrote:
>>
>>> Hi,
>>>
>>> I'm interested in implementing customizable hot keys for pdf page
>>> motions and zoom actions.
>>>
>>> I've already implemented this for another project, and I think with
>>> some minor modifications, it could be dropped right into Skim.  It
>>> works as follows;
>>>
>>> I have an object which contains all the information about the hot
>>> keys, and interacts with the user defaults via the key "Shortcuts".
>>> There should only be one of these objects in the application.  It is
>>> capable of returning string descriptions of the shortcuts (such as
>>> Command-Shift-D, with symbols for the modifier keys).  This is  
>>> useful
>>> for displaying the keys in a preferences window.
>>>
>>> Then, in a subclass of PDFView, I have a custom performKeyEquivalent
>>> method, which interacts with the object containing information about
>>> the hot keys. I note that the subclass of PDFView used by Skim does
>>> not change this method, so that my version could be dropped in
>>> directly.  The custom method tells the PDFView what to do by sending
>>> it keydown messages.
>>>
>>> Additionally, I have a hacky way to set hotkeys, using a subclass of
>>> NSPanel to capture the new key.  This would probably need to be
>>> changed, since you can set any combination, including those in  
>>> use by
>>> the menu items.
>>>
>>> So, the thing is, I don't have any experience using SVN, so I don't
>>> know how to contribute the changes.  Additionally, I don't want to
>>> break anything, and I'd appreciate some assistance integrating my
>>> classes into Skim.
>>>
>>> To see the program currently using the hotkey implementation, please
>>> visit http://www.twistedtheorysoftware.com/maclit
>>>
>>> Josh
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> -
>>> -
>>> ---
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a
>>> browser.
>>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>>> _______________________________________________
>>> skim-app-develop mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/skim-app-develop
>>
>>
>> --------------------------------------------------------------------- 
>> -
>> ---
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a
>> browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> _______________________________________________
>> skim-app-develop mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/skim-app-develop
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> skim-app-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/skim-app-develop


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
skim-app-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-develop

Reply via email to