Article View: gnu.epoch.misc
Article #1595Re: highlighting in Epoch3.2
From: Sandeep Mehta
Date: Thu, 12 Mar 1992 10:55
Date: Thu, 12 Mar 1992 10:55
36 lines
1901 bytes
1901 bytes
> bsabata@ut-emx.cc.utexas.edu (Bikash Sabata) writes:
> (1) I cannot use any color other than red, blue and green for
> highlighting the comments, function headers prototypes etc.
try modifying your c-mode-hilit. The actual color defns are in the
initialization part of the code...
(setq c-mode-hilit
'(("/\\*" "\\*/" 6)
("^[_a-zA-Z][^=\n]*(\\(.*;\\|[^{]*\\)" nil 2) ;; fn decls
("^#.*" nil 13)
("^typedef.*" nil 12)
("^struct.*" nil 12)
("^enum.*" nil 12)))
> (2) When I use the mouse to select a region and if the region has
> a highlighted portion (e.g. comments, function headers etc) then
> only the first line gets the motion foreground and motion backgnd
> settings. The rest of the lines although selected do not change.
> This problem does not occur when there is regular text which has
> not been highlighted.
That's because they all buttons. If you hilit::unhilit-buffer you can
use the mouse cut and paste. You can hilight it again using
hilit::hilit-buffer.
/sandeep
--
smehta@nynexst.com
--
"An artist is never ahead of his time but most people are far behind theirs"
-- Edgard Varese
Technical Details
Message-ID:
<SMEHTA.92Mar12105506@regan.nynexst.Com>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!news.ans.net!nynexst.com!vermont!smehtaReferences:
<68253@ut-emx.uucp>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,2024b93b202debe0 X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1992-03-12 09:06:37 PST Newsgroups: gnu.epoch.misc Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!news.ans.net!nynexst.com!vermont!smehta From: smehta@regan.nynexst.Com (Sandeep Mehta) Subject: Re: highlighting in Epoch3.2 In-Reply-To: bsabata@ut-emx.cc.utexas.edu's message of 11 Mar 92 15:42:12 GMT Message-ID: <SMEHTA.92Mar12105506@regan.nynexst.Com> Sender: news@nynexst.com (For News purposes) Reply-To: smehta@nynexst.com Organization: Speech Technology, AI Lab, NYNEX S&T Inc, White Plains, NY References: <68253@ut-emx.uucp> Date: 12 Mar 92 10:55:06