| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
| |
(pascal-indent-nested-functions) (pascal-indent-line)
(pascal-calculate-indent) (pascal-get-lineup-indent): Support for
indenting nested functions.
|
| |
|
|
| |
beginning could cause Emacs to hang. Fixed.
|
| | |
|
| |
|
|
|
|
| |
front of the "begin" string.
(pascal-beg-of-defun): Used to locate the beginning of a function
incorrectly when a function contained several begin-end blocks. Fixed.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
(pascal-indent-case): Removed unnecessary calls to marker-position.
(pascal-indent-declaration): Editing a parameterlist at the end of
a buffer does not hang. Removed unnecessary call to marker-position.
(pascal-get-lineup-indent): Removed unused variable.
Now indents parameterlist correctly.
(pascal-completion-response): Removed unused variable.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
if edpos is at end of buffer.
|
| |
|
|
|
|
| |
Set parse-sexp-ignore-comments to t before parsing.
(pascal-indent-case): Save position of cursor, and restores it
after reindenting the code.
|
| |
|
|
|
|
| |
(electric-pascal-tab): Never indented a line when
pascal-tab-always-indent was set to nil.
(pascal-indent-case): Now locates the end of a case-statement correctly.
|
| | |
|
| | |
|
| |
|
|
| |
Doc fix.
|
| | |
|
| |
|
|
| |
(pascal-toggle-completions): Doc fix.
|
| |
|
|
| |
(pascal-imenu-generic-expression): New variable.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
(pascal-complete-word, pascal-completion-response, pascal-completion)
(pascal-get-completion-decl): Rename some internal variables
to start with 'pascal-'.
(pascal-str, pascal-all, pascal-pred, pascal-flag)
(pascal-buffer-to use): New dummy variables.
|
| |
|
|
|
|
|
|
|
|
| |
C-c C-b now inserts block. C-c C-d does goto-defun.
`#' calls on electric-pascal-hash.
(pascal-calculate-indent, pascal-indent-alist)
(electric-pascal-tab, pascal-indent-case):
Better handling of indent within case. Support for CPP.
The `;' in the last statement of a subblock may be omitted.
(electric-pascal-hash): New function.
|
| | |
|
| |
|
|
|
| |
(pascal-mode): Set comment-start-skip and comment-end.
Set font-lock-keywords locally.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(pascal-end-of-statement): New function.
(pascal-indent-command): Now does optional lineups of : and =.
(pascal-indent-case): Uses pascal-end-of-statement to skip the
case statements.
(pascal-indent-declaration): Indent correctly
when record blocks are used within parameterlists.
(pascal-declaration-beg): Strange -0 argument removed.
(pascal-type-completion): Fix typo in regexp.
(pascal-get-lineup-indent): Use match-end instead of end-of-line.
|
| | |
|
| |
|
|
|
|
| |
(pascal-set-auto-comments): No comment after record block.
(pascal-seperator-keywords): Renamed to pascal-separator-keywords.
(pascal-get-lineup-indent): Handle multiple declarations on same line.
|
| |
|
|
|
| |
in for-loops, with-structures and else-structures.
(pascal-noindent-re): Add `else'.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
(pascal-get-beg-of-line, pascal-get-end-of-line):
Use defsubst. Renamed from get-...
(pascal-within-string): Use defsubst.
(delete-whitespaces): Function deleted;
callers use delete-horizontal-space instead.
(pascal-string-diff): Renamed from string-diff.
Complete rewrite. Added an outline- minor-mode and completion.
|
| |
|