aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/hideshow.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (hs-minor-mode-menu): Fix omission bug; was used but not declared.Thien-Thi Nguyen1999-12-291-4/+19
| | | | | | | (hs-discard-overlays, hs-isearch-show, hs-isearch-show-temporary, hs-find-block-beginning): Add or modify docstrings. (hs-isearch-show): Rewrite.
* Generally, synch w/ maintainer version 5.9.Thien-Thi Nguyen1999-12-261-554/+555
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (hs-show-hidden-short-form): Delete var; hard-code uses as `t'. (hs-minor-mode-hook): Don't initialize. (hs-special-modes-alist): Rewrite value and docstring. (hs-minor-mode-prefix): Delete unused var. (hs-block-start-mdata-select): New var, buffer local. (hs-headline): New var. (hs-match-data, hs-forward-sexp): New funcs. (hs-hide-comment-region): New func. (hs-discard-overlays, hs-flag-region, hs-hide-block-at-point, hs-safety-is-job-n, hs-hide-initial-comment-block, hs-inside-comment-p, hs-grok-mode-type, hs-find-block-beginning, hs-hide-level-recursive, hs-life-goes-on, hs-already-hidden-p, hs-c-like-adjust-block-beginning, hs-hide-all, hs-show-all, hs-hide-block, hs-show-block, hs-show-region, hs-hide-level, hs-mouse-toggle-hiding, hs-minor-mode): Rewrite. (hs-isearch-show): Renamed from `hs-isearch-open-invisible'. (hs-isearch-show-temporary): New funcs. (hs-show-block-at-point, java-hs-forward-sexp): Delete funcs. (hs-hide-all, hs-mouse-toggle-hiding): Don't autoload. When constructing menu, use `[(shift button2)]' notation.
* *** empty log message ***Dan Nicolaescu1998-10-021-2/+2
|
* *** empty log message ***Thien-Thi Nguyen1998-09-181-2/+3
|
* (hs-grok-mode-type) Handle nil `comment-start' and `comment-end'.Thien-Thi Nguyen1998-09-131-14/+16
|
* (hs-minor-mode): Use `make-local-variable' not `make-variable-buffer-local'.Thien-Thi Nguyen1998-06-121-1/+1
|
* Require `easymenu'. Rework to use easymenu. Remove eol ws.Thien-Thi Nguyen1998-06-121-251/+284
| | | | | | | (hs-hide-level-recursive, hs-hide-level): Add. (hs-unbalance-handler-method): Delete. (hs-show-block-at-point): Always use `top-level' unbalanced-handler case.
* (hs-life-goes-on): Use Emacs' native backquote support.Dan Nicolaescu1998-05-171-3/+4
|
* (hs-special-modes-alist): Improved the regexp for java.Dan Nicolaescu1998-02-021-2/+2
|
* (hs-special-modes-alist): Improved the regexp for java.Richard M. Stallman1998-02-021-6/+3
|
* (hs-special-modes-alist): Correct alistKarl Heuer1997-10-151-1/+1
| | | | for java-mode.
* (hs-minor-mode-hook): Fix customize type.Richard M. Stallman1997-09-091-1/+1
|
* Correct the autoload cookies.Richard M. Stallman1997-08-091-4/+4
|
* (hs-special-modes-alist): Use a regexp generated by regexp-opt.Richard M. Stallman1997-07-191-3/+12
| | | | | (hs-life-goes-on): Nullify inhibit-point-motion-hooks as we have to move inside intangible overlays. Enable edebug.
* (hs-discard-overlays): Use overlays-in toRichard M. Stallman1997-06-241-8/+7
| | | | get all the overlays in a range. Don't use let inside a cycle.
* (hideshow): Added a :prefix.Richard M. Stallman1997-06-131-4/+31
| | | | | | | | | | (hs-isearch-open): New variable. (hs-flag-region): Use that variable. Changed the semantics of the FLAG parameter and updated the docs. (hs-isearch-open-invisible): New function to be set as a `isearch-pent-invisible' property for hidden overlays, so that isearch can use it. (hs-hide-block-at-point): Tell if we are hiding a comment or a block.
* (hs-show-hidden-short-form): Updated doc string.Richard M. Stallman1997-06-011-25/+30
| | | | | | | | | | | (hs-adjust-block-beginning): Likewise. (hs-special-modes-alist): C and C++ should also use hs-c-like-adjust-block-beginning. (hs-find-block-beginning): If hs-adjust-block-beginning is t and we apply hs-adjust-block-beginning and we reach the point means that we found the block beginning. (hs-c-like-adjust-block-beginning): Renamed from java-hs-adjust-block-beginning.
* (hs-hide-comments-when-hiding-all)Richard M. Stallman1997-05-311-54/+65
| | | | | | | (hs-show-hidden-short-form, hs-minor-mode-hook): Move definitions up. Use defcustom. (hs-find-block-beginning): Bind buffer-size, don't call it in a cycle. (hs-hide-all): Likewise.
* (hs-special-modes-alist): Include also theRichard M. Stallman1997-05-291-164/+335
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | comment regexp in the alist. This is needed for modes like c++ where the comment beginning regexp is not easy to determine from the syntax table. Include ADJUST-BLOCK-BEGINNING in the alist. (hs-hide-comments-when-hiding-all): Add autoload cookie. (hs-show-hidden-short-form): (hs-adjust-block-beginning): New variables. Comment out `hs-menu-bar' as XEmacs support was removed. (hs-c-end-regexp): Remove variable, obsoleted by the rewrite of `hs-inside-comment-p'. (hs-discard-overlays): No need to test if we are inside the overlay, we surely are since we got the overlay using `overlays-at'. (hs-hide-block-at-point): Rewritten to use the new variables. Use only one parameter to specify the comment. (hs-show-block-at-point): No need for the COMMENT-REG parameter. (hs-safety-is-job-n): Correct typo. (hs-hide-initial-comment-block): Add ^L to the chars to skip. Take into account `hs-show-hidden-short-form' when testing. (hs-inside-single-line-comment-p): Function deleted, obsoleted by the rewrite of `hs-inside-comment-p'. (hs-inside-comment-p): Rewritten from scratch. Semantics changed when returning non-nil. We can be inside a comment, but that comment might not be hidable (the car of the return value should be non-nil to be hidable). (hs-grok-mode-type): Rewrite to be more understandable. `hs-c-end-regexp' does not exist any more. Initialize `hs-c-start-regexp' from the alist if specified there. Initialize `hs-adjust-block-beginning'. (hs-find-block-beginning): Rewritten to be able to deal with the situation when a block beginning spans multiple lines and the point is on one of those lines. (hs-already-hidden-p): Look first if we are inside a comment or a block, go to their end and look there for the overlays. (java-hs-adjust-block-beginning): New function. (hs-hide-all): Hide a comment block only if `hs-inside-comment-p' says is hidable. (hs-hide-block): Simplify. Handle properly the result of `hs-inside-comment-p'. (hs-show-block): Likewise. (hs-minor-mode): Doc string fixes. Make `hs-adjust-block-beginning' buffer local. Delete making `hs-c-end-regexp' buffer local as it was deleted.
* (hs-hide-block-at-point): Doc fix.Karl Heuer1997-03-311-1/+1
|
* (hs-show-all, hs-safety-is-job-n): Fix messages.Richard M. Stallman1997-03-291-156/+276
| | | | | | | | | | | | | | | | | | | | Changed to use overlays for hiding instead of selective display. Commented out the support for XEmacs because it doesn't support overlays. (hs-special-modes-alist): Added support for java-mode. (hs-minor-mode-hook): New variable. (hs-c-start-regexp, hs-c-end-regexp, hs-forward-sexp-func) (hs-block-start-regexp, hs-block-end-regexp) (hs-find-block-beginning): Doc string fixes. (hs-hide-comments-when-hiding-all): New variable. (hs-safety-is-job-n, hs-minor-mode, hs-flag-region): Use overlays for hiding. (hs-inside-single-line-comment-p, hs-discard-overlays) (hs-already-hidden-p): New internal functions. (hs-hide-block-at-point, hs-hide-initial-comment-block) (java-hs-forward-sexp, hs-mouse-toggle-hiding): New functions. (hs-inside-comment-p, hs-hide-block) (hs-show-block): Added support for single line comments. (hs-hide-all): Added support for hiding comments.
* (hs-emacs-type): Doc fix.Richard M. Stallman1996-12-291-1/+1
|
* Comment change.Richard M. Stallman1996-03-021-1/+1
|
* Update FSF's address.Erik Naggum1996-01-141-65/+66
|
* Many doc fixes.Richard M. Stallman1996-01-121-29/+30
| | | | | (hs-hide-hook): Renamed from hs-hide-hooks. (hs-show-hook): Renamed from hs-show-hooks.
* (hs-hide-block): Fix message spelling.Karl Heuer1996-01-041-3/+3
|
* Fix capitalization in menu bar.Karl Heuer1995-05-301-10/+10
|
* `emacs-version' checking now handles Lucid's version change to 19.xx.Thien-Thi Nguyen1995-03-141-8/+8
|
* Clean up doc strings.Thien-Thi Nguyen1995-02-261-194/+207
| | | | Remove cl.el and emacs-vers.el dependencies.
* Initial revisionThien-Thi Nguyen1994-12-271-0/+477