[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Visual PHP3 [emacs mode]?
On Tue, 12 Jan 1999, Itamar S.-T. wrote:
> [....]
>
> I understand that vim 5.3 supports PHP3 and can run two syntax-highliting
> modes at once (i.e. PHP3 and HTML), but I dislike using vim for major
> editing. Since there isn't a PHP3 mode foe xemacs, is there any way to make
> Xemacs use both at once (c++ and HTML) in different parts of the document
> based on location of "<?", "?>?
>
As I told, I do not know about any out of the box solution. What you can
do (note, I've never tried this) is to play with outline minor/major mode
and set its delimiters to the php tags. You define a keybinding that
folds all non-php stuff and sets you into C++-mode. Add also a restoring
key sequence. This is better than nothing but you still won't be able to
see both HTML and php highlighted simultaneously in the same buffer.
Andre.
--
================================================================
# Andre E. Bar'yudin #
# Home page: http://www.cs.huji.ac.il/~baryudin #
# E-mail: baryudin@pob.huji.ac.il #
# E-mail: baryudin@cs.huji.ac.il #
# Phone: (972)-53-812-026 #
================================================================