public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Insight EOL display
@ 2006-05-28 10:35 Dave Bryan
  2006-06-07 17:38 ` Keith Seitz
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Bryan @ 2006-05-28 10:35 UTC (permalink / raw)
  To: insight

Hi,

I'm using Insight under Windows and I'm seeing end of line square markers  
in the source window.
Is there any way to get Insight to not display these markers ?

Thanks
Dave Bryan

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

* Re: Insight EOL display
  2006-05-28 10:35 Insight EOL display Dave Bryan
@ 2006-06-07 17:38 ` Keith Seitz
  2006-06-08  9:23   ` Dave Bryan
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2006-06-07 17:38 UTC (permalink / raw)
  To: Dave Bryan; +Cc: insight

Dave Bryan wrote:

> I'm using Insight under Windows and I'm seeing end of line square 
> markers in the source window.
> Is there any way to get Insight to not display these markers ?

Are you sure they are carriage returns? The function gdb_loadfile in 
gdbtk-cmds.c already strips the carriage return:

           /* Look for DOS style \r\n endings, and if found,
            * strip off the \r.  We assume (for the sake of
            * speed) that ALL lines in the file have DOS endings,
            * or none do.
            */

Do you see these markers on EVERY line (in particular, the first)? Can 
you find out what the value of the char is that is causing problems?

Keith

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

* Re: Insight EOL display
  2006-06-07 17:38 ` Keith Seitz
@ 2006-06-08  9:23   ` Dave Bryan
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Bryan @ 2006-06-08  9:23 UTC (permalink / raw)
  To: Keith Seitz; +Cc: insight, Duane Ellis

Keith,

I'm seeing these markers part way through a file. In particular when I've  
edited a file thats part of a gcc project using Visual Studio. It seems to  
save the parts I've edited with \r\n eols but retains the original eols  
for the parts I haven't edited (I typically wouldn't edit the beginning of  
the file).  This confirms the suspicions that Duane mentioned about in his  
email so it looks as it is safer to parse the whole source when loading.

Off-subject but do you know how to get a hex display in the balloon popups  
when hovering over a variable ?

Regards
Dave

> Dave Bryan wrote:
>
>> I'm using Insight under Windows and I'm seeing end of line square  
>> markers in the source window.
>> Is there any way to get Insight to not display these markers ?
>
> Are you sure they are carriage returns? The function gdb_loadfile in  
> gdbtk-cmds.c already strips the carriage return:
>
>            /* Look for DOS style \r\n endings, and if found,
>             * strip off the \r.  We assume (for the sake of
>             * speed) that ALL lines in the file have DOS endings,
>             * or none do.
>             */
>
> Do you see these markers on EVERY line (in particular, the first)? Can  
> you find out what the value of the char is that is causing problems?
>
> Keith


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

end of thread, other threads:[~2006-06-08  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-28 10:35 Insight EOL display Dave Bryan
2006-06-07 17:38 ` Keith Seitz
2006-06-08  9:23   ` Dave Bryan

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).