Next: Highlight Func Mode, Previous: MRU Bookmarks, Up: Using Semantic [Contents][Index]

### 2.8 Sticky Function mode

Semantic Sticky Function minor mode displays a header line that shows the declaration line of the function or tag on the topmost line in the text area. This allows you to keep that declaration line in view at all times, even if it is scrolls off the “top” of the screen.

In addition, clicking `mouse-1` on the header line opens a context menu that contains menu items for copying, killing, or narrowing to that tag.

Command: global-semantic-stickyfunc-mode &optional arg

  Toggle Semantic Sticky Function mode in all Semantic-enabled buffers. With an optional argument arg, enable if arg is positive, and disable otherwise.

Variable: semantic-stickyfunc-sticky-classes

  The value of this variable is a list of tag classes that Semantic Sticky Function mode makes “sticky”. The default is `'(function type)`, meaning function declarations and type declarations. Other possible tag classes are `variable`, `include`, and `package`.