Thread View: gnu.epoch.misc
3 messages
3 total messages
Started by Bikash Sabata
Wed, 11 Mar 1992 15:42
highlighting in Epoch3.2
Author: Bikash Sabata
Date: Wed, 11 Mar 1992 15:42
Date: Wed, 11 Mar 1992 15:42
24 lines
1444 bytes
1444 bytes
Hello, I am using Epoch3.2 and have some problems with the highlighting of text. I use the hilit.el package of Paul Nakada and I have the following problems (1) I cannot use any color other than red, blue and green for highlighting the comments, function headers prototypes etc. (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. (3) Is it possible to change the font in the highlighted region? Has anyone else had such problems? What has to be done to fix it? Thanks Bikash email: bsabata@hera.ee.utexas.edu
Re: highlighting in Epoch3.2
Author: Quentin Stafford-Fraser
Date: Thu, 12 Mar 1992 10:30
Date: Thu, 12 Mar 1992 10:30
22 lines
1415 bytes
1415 bytes
In article <68253@ut-emx.uucp>, bsabata@ut-emx.cc.utexas.edu (Bikash Sabata) writes: |> (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. Yes, same here. Can the motion styles be made to evrride the highlight styles, Paul? ----------------------------------- Quentin Stafford-Fraser Cambridge University Computer Lab qs101@cl.cam.ac.uk Tel +44 223 334645 -----------------------------------
Re: highlighting in Epoch3.2
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads