Alfredo Braunstein wrote:

>> Kayvan's reported problem, that a mouse click doesn't get
>> translated to a command to open up the paragraph settings dialog is
>> a problem with an LFUN that IMO does indeed belong to
>> BufferView::dispatch.
> 
> I think it's not a mouse click, but Edit->Paragraphs settings from
> the menus. Maybe also this one should be moved to LyXText? (it's
> related to the cursor position after all)
> Is there a good rule about what should be handled where? For
> instance, why change tracking & thesaurus but not s&r, etc)?

I think that the rule is "handle the LFUN in the most appropriate 
dispatch" but it has never been enforced strictly. Having a single 
BufferView means that things tend to "just work".

In Kayvan's case, the appropriate dispatch would clearly be that of 
LyXView since that owns the menubars...

-- 
Angus

Reply via email to