>>>>> "Stefan" == Stefan Schimanski <[EMAIL PROTECTED]> writes:
Stefan> I haven't found out how to fix the menu item as well. At the Stefan> moment it greys out when the drawer is visible. It should Stefan> switch between "Show TOC" and "Hide TOC" or it should be a Stefan> toggle menu item. Would be happy about some hint where to Stefan> look. You have to change getStatus for the TOC lfun to that it returns setOnOff true/false as needed. Look at this for example: case LFUN_BUFFER_TOGGLE_READ_ONLY: flag.setOnOff(buf->isReadonly()); break; JMarc