possible bug

0 views
Skip to first unread message

Chuck Tilbury

unread,
Dec 2, 2009, 1:28:41 PM12/2/09
to scite-i...@googlegroups.com
I am running under Kumbuntu 8.04.2 and I have really long file names.
Some of them are over 30 characters long. I also have vars such as
title.full.path turned on. Tabs and such are turned off.

uname -a
Linux xxxxx 2.6.24-24-generic #1 SMP Fri Sep 18 16:16:18 UTC 2009
x86_64 GNU/Linux

When I load a file such as
/home/xxxxxxxx/svn/XXXXXXXXX/Suite/CPU/Memory/Independent_DRAM_Controllers/Independent_DRAM_Controllers.hpp

The type of the file is not recognized and the indenting is messed up.
If I select "CPP" from the Language menu, then everything is fine.

When I load a file that has a shorter name, it seems fine.

Thanks!
Chuck T.

Neil Hodgson

unread,
Dec 11, 2009, 9:36:06 PM12/11/09
to scite-i...@googlegroups.com
Chuck Tilbury:

> When I load a file such as
> /home/xxxxxxxx/svn/XXXXXXXXX/Suite/CPU/Memory/Independent_DRAM_Controllers/Independent_DRAM_Controllers.hpp
>
> The type of the file is not recognized and the indenting is messed up.
>  If I select "CPP" from the Language menu, then everything is fine.
>
> When I load a file that has a shorter name, it seems fine.

Can not reproduce with current SciTE 2.01 on 64 bit Ubuntu 9.10
even with an extra 20 characters in the path. There could be issues
with paths longer than 255 characters but this looks too short.

Neil

Chuck Tilbury

unread,
Dec 11, 2009, 11:23:18 PM12/11/09
to scite-i...@googlegroups.com
I have been using it for a little while and it does not seem to fail on
every file. Does the "indenter" also look at the file content to figure
out the type? That could be the issue, if it does. Also, I am running
the version that comes with a fully upgraded Kubuntu 8.04.2 LTS
installation, so that could be different. Maybe I should just get the
latest and see it I can build it. I could look at the code, but time is
a problem. Thoughts?

-=chuckt=-
> --
>
> You received this message because you are subscribed to the Google Groups "scite-interest" group.
> To post to this group, send email to scite-i...@googlegroups.com.
> To unsubscribe from this group, send email to scite-interes...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
>
>
>
>

Chuck Tilbury

unread,
Dec 12, 2009, 2:05:09 PM12/12/09
to scite-i...@googlegroups.com
I am using v 1.75. I will update and see if that helps.

Neil Hodgson

unread,
Dec 12, 2009, 7:38:53 PM12/12/09
to scite-i...@googlegroups.com
Chuck Tilbury:

> I have been using it for a little while and it does not seem to fail on
> every file.  Does the "indenter" also look at the file content to figure
> out the type?

Shbang lines at the start are examined for scripting languages and
XML but I doubt your hpp files start with something like
#! /usr/bin/perl
or
<?xml

> That could be the issue, if it does.  Also, I am running
> the version that comes with a fully upgraded Kubuntu 8.04.2 LTS
> installation, so that could be different.  Maybe I should just get the
> latest and see it I can build it.  I could look at the code, but time is
> a problem.  Thoughts?

Try changing the lengths to see if it depends on the total path
length or the length of the filename part and if it always starts
failing at the same point. Or stick the code in a debugger and watch
what it does.

Neil

Chuck Tilbury

unread,
Dec 12, 2009, 9:14:55 PM12/12/09
to scite-i...@googlegroups.com
I just updated to V2.01 and the same issue still exists. I will check
the actual length. It could also be that a total length is the issue.
I typically load 10 or 20 files at a time, too. Though, I have seen
this issue when only one file is loaded. I will try to pay closer
attention and post when I have more information.

-=chuck=-
Reply all
Reply to author
Forward
0 new messages