]> granicus.if.org Git - python/commit
(py-compute-indentation): Several changes made to improve navigation
authorBarry Warsaw <barry@python.org>
Thu, 12 Feb 1998 16:52:14 +0000 (16:52 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 12 Feb 1998 16:52:14 +0000 (16:52 +0000)
commitf64b4054af02d65c3ca00916cd064902d6cc6ea9
tree4db16978ab9f6969ba0b570b3a5b9281725948c3
parentda623981396be2d69f40114c10eddd40e73751b9
(py-compute-indentation): Several changes made to improve navigation
over and around triple-quoted strings:

    - move the beginning-of-line to above the p-p-s call

    - in the `t' clause of the big cond, where we skip over
      triple-quoted strings, first find out if we're looking at a
      single or TQS, then skip over it in one fell swoop, instead of
      trying to loop over skipage of SQS's.

(py-parse-state): Implement XEmacs only hack to more accurately figure
out whether we're in a string or not.  Can't do this in Emacs because
it lacks the necessary primitive, so we just do it the old (and mostly
accurate, but foolable) way for Emacs.
Misc/python-mode.el