-;;; util-modes.el --- Semantic minor modes
+;;; semantic/util-modes.el --- Semantic minor modes
;;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009
;;; Free Software Foundation, Inc.
;;;; Minor mode to highlight areas that a user edits.
;;;;
+;;;###autoload
(defun global-semantic-highlight-edits-mode (&optional arg)
"Toggle global use of option `semantic-highlight-edits-mode'.
If ARG is positive, enable, if it is negative, disable.
(semantic-toggle-minor-mode-globally
'semantic-highlight-edits-mode arg)))
+;;;###autoload
(defcustom global-semantic-highlight-edits-mode nil
"*If non-nil enable global use of variable `semantic-highlight-edits-mode'.
When this mode is enabled, changes made to a buffer are highlighted
)
semantic-highlight-edits-mode)
+;;;###autoload
(defun semantic-highlight-edits-mode (&optional arg)
"Minor mode for highlighting changes made in a buffer.
Changes are tracked by semantic so that the incremental parser can work
;;;;
;;;; Minor mode to show unmatched-syntax elements
;;;;
+
+;;;###autoload
(defun global-semantic-show-unmatched-syntax-mode (&optional arg)
"Toggle global use of option `semantic-show-unmatched-syntax-mode'.
If ARG is positive, enable, if it is negative, disable.
(semantic-toggle-minor-mode-globally
'semantic-show-unmatched-syntax-mode arg)))
+;;;###autoload
(defcustom global-semantic-show-unmatched-syntax-mode nil
"*If non-nil, enable global use of `semantic-show-unmatched-syntax-mode'.
When this mode is enabled, syntax in the current buffer which the
(semantic-clean-unmatched-syntax-in-buffer))
semantic-show-unmatched-syntax-mode)
+;;;###autoload
(defun semantic-show-unmatched-syntax-mode (&optional arg)
"Minor mode to highlight unmatched lexical syntax tokens.
When a parser executes, some elements in the buffer may not match any
;;;; Minor mode to display the parser state in the modeline.
;;;;
+;;;###autoload
(defcustom global-semantic-show-parser-state-mode nil
"*If non-nil enable global use of `semantic-show-parser-state-mode'.
When enabled, the current parse state of the current buffer is displayed
:set (lambda (sym val)
(global-semantic-show-parser-state-mode (if val 1 -1))))
+;;;###autoload
(defun global-semantic-show-parser-state-mode (&optional arg)
"Toggle global use of option `semantic-show-parser-state-mode'.
If ARG is positive, enable, if it is negative, disable.
)
semantic-show-parser-state-mode)
+;;;###autoload
(defun semantic-show-parser-state-mode (&optional arg)
"Minor mode for displaying parser cache state in the modeline.
The cache can be in one of three states. They are
;;;; Minor mode to make function decls sticky.
;;;;
+;;;###autoload
(defun global-semantic-stickyfunc-mode (&optional arg)
"Toggle global use of option `semantic-stickyfunc-mode'.
If ARG is positive, enable, if it is negative, disable.
(semantic-toggle-minor-mode-globally
'semantic-stickyfunc-mode arg)))
+;;;###autoload
(defcustom global-semantic-stickyfunc-mode nil
"*If non-nil, enable global use of `semantic-stickyfunc-mode'.
This minor mode only works for Emacs 21 or later.
(kill-local-variable 'semantic-stickyfunc-old-hlf))))
semantic-stickyfunc-mode)
+;;;###autoload
(defun semantic-stickyfunc-mode (&optional arg)
"Minor mode to show the title of a tag in the header line.
Enables/disables making the header line of functions sticky.
;; Highlight the first like of the function we are in if it is different
;; from the the tag going off the top of the screen.
+
+;;;###autoload
(defun global-semantic-highlight-func-mode (&optional arg)
"Toggle global use of option `semantic-highlight-func-mode'.
If ARG is positive, enable, if it is negative, disable.
(semantic-toggle-minor-mode-globally
'semantic-highlight-func-mode arg)))
+;;;###autoload
(defcustom global-semantic-highlight-func-mode nil
"*If non-nil, enable global use of `semantic-highlight-func-mode'.
When enabled, the first line of the current tag is highlighted."
)
semantic-highlight-func-mode)
+;;;###autoload
(defun semantic-highlight-func-mode (&optional arg)
"Minor mode to highlight the first line of the current tag.
Enables/disables making the header line of functions sticky.
(provide 'semantic/util-modes)
-;;; semantic-util-modes.el ends here
+;; Local variables:
+;; generated-autoload-file: "loaddefs.el"
+;; generated-autoload-feature: semantic/loaddefs
+;; generated-autoload-load-name: "semantic/util-modes"
+;; End:
+
+;;; semantic/util-modes.el ends here