> >> I think that we should harmonize the two classifications. > > > > to be frank i dont how to do it. > > take eg these 2 functions: > > { LFUN_FILE_INSERT, "file-insert", Noop, Buffer }, > > { LFUN_FILE_INSERT_PLAINTEXT, "file-insert-plaintext", Noop, Edit }, > > > > do you agree they should be together in one section? > > Yes. I would put them in Edit.
ah, you mean we can change func_type too. if i understand correctly this info is used only in shortcut dialog, so Bo could you please look on the current LyXAction.cpp and decide for the few cases? from the quick review i see these sinners: { LFUN_SELF_INSERT, "self-insert", SingleParUpdate, Hidden }, { LFUN_SCREEN_FONT_UPDATE, "screen-font-update", NoBuffer, Layout }, LFUN_INSET* group { LFUN_PARAGRAPH_UPDATE, "", Noop, Hidden }, LFUN_BUFFER* group LFUN_FILE_* group { LFUN_PREFERENCES_SAVE, "preferences-save", NoBuffer, Edit }, { LFUN_TOGGLE_CURSOR_FOLLOWS_SCROLLBAR, "toggle-cursor-follows-scrollbar", ReadOnly, Edit }, thanks pavel