public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Coloring problem -problem of installation or feature?
@ 2001-03-25  3:41 leonp
  2001-03-25 14:54 ` Mo DeJong
  0 siblings, 1 reply; 2+ messages in thread
From: leonp @ 2001-03-25  3:41 UTC (permalink / raw)
  To: sourcenav

Hello,
         Please, excuses for a silly question, but I wasn't able to find an 
answer in docs, helps, etc.
         In my project I see some elements (function names, variables) 
colored only in declarations, but nothing is colored (except C-language 
words) inside the functions. I mean, for example:
void Func1() {..........}       <--Func1 is RED
void Func2() {  <--Func2 is RED
........
         Func1();                <--Func1 is BLACK!!!
..........}

         Is this a  problem of my installation/settings or this was planned 
so at the beginning? The situation is the same in my Win2K and Linux 
installations.

Thanks ahead.


Leon Pollak
leonp@plris.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Coloring problem -problem of installation or feature?
  2001-03-25  3:41 Coloring problem -problem of installation or feature? leonp
@ 2001-03-25 14:54 ` Mo DeJong
  0 siblings, 0 replies; 2+ messages in thread
From: Mo DeJong @ 2001-03-25 14:54 UTC (permalink / raw)
  To: sourcenav

On Sun, 25 Mar 2001 leonp@plris.com wrote:

> Hello,
>          Please, excuses for a silly question, but I wasn't able to find an 
> answer in docs, helps, etc.
>          In my project I see some elements (function names, variables) 
> colored only in declarations, but nothing is colored (except C-language 
> words) inside the functions. I mean, for example:
> void Func1() {..........}       <--Func1 is RED
> void Func2() {  <--Func2 is RED
> ........
>          Func1();                <--Func1 is BLACK!!!
> ..........}
> 
>          Is this a  problem of my installation/settings or this was planned 
> so at the beginning? The situation is the same in my Win2K and Linux 
> installations.

A function call (AKA an xref) is not colored. This might be
an area that could be enhanced in the future, but it is a parser
thing and therefore not trivial. Xrefs are stored as line
numbers only. A function declaration is stored as line and
column start and end numbers (thus, it an be colored).

Mo DeJong
Red Hat Inc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-25 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-25  3:41 Coloring problem -problem of installation or feature? leonp
2001-03-25 14:54 ` Mo DeJong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).