Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CF: Double Quotes



On Mon, 1 Feb 1999, Mark Wedel wrote:

> On Feb 2, 11:51am, John Cater wrote:
> > Subject: CF: Double Quotes
> > Does anyone know when double quotes (") stopped working as an
> > abbreviation for 'say
> 
>  I just tried it right now with the cfclient, and it works fine.
> 
>  It appears there is some problem with it with the gcfclient.

Yep, probably. gcfclient works differently than cfclient in that aspect.
It doesnt like unterminated commands. The entry widget has it's own
(standard) gtk handling routines for input, and keybindings arent active
there. It could be made a special case tho, which would dump a say into
and focus on the entry widget. 

> > I really found it handy. Is there anyway to make a key binding to do the
> > same thing?
> 
>  There is no difference between the built in keybindings and custom keybindings
> - if a built in binding can do something, you can do the same thing with custom
> bindings - they both use the exact same code.

Yep... except in this case, since you'd (for practicality) have to switch
active focus too. 

This is a general problem; either I keep as close as possible to cfclient
in how it works, or I keep some of the GTK standard handling in places.
Either way it will be annoying in some cases (especially for those used to
either of the usual ways things work). The result is sometimes not
entirely good, and I think it will take a while until it is satisfactory.
The count widget is, I think, the worse case there currently (except for
the character generation). I would appreciate comments or suggestions on
how these things *should* work.

/David

-
[you can put yourself on the announcement list only or unsubscribe altogether
by sending an email stating your wishes to crossfire-request@ifi.uio.no]