Discussion:
Font for Calltips
Tilman Groth
2009-11-02 07:26:44 UTC
Permalink
Hi all,

I would like to change the calltip font to something monospaced as I want
to use it as a kind of title to tables I have in my programs. How can this
be done?

Greetings,
Til
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Bert Wesarg
2009-11-02 07:50:40 UTC
Permalink
On Mon, Nov 2, 2009 at 08:26, Tilman Groth
Post by Tilman Groth
Hi all,
Hi,
Post by Tilman Groth
I would like to change the calltip font to something monospaced as I want
to use it as a kind of title to tables I have in my programs. How can this
be done?
I have this in my ~/.Xresources;

nedit*calltip.FontList:
-misc-fixed-medium-r-normal--13-100-100-100-c-70-iso8859-1

Bert
Post by Tilman Groth
Greetings,
Til
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Tilman Groth
2009-11-02 10:18:32 UTC
Permalink
works great! Thanks.

Til
Post by Bert Wesarg
On Mon, Nov 2, 2009 at 08:26, Tilman Groth
Post by Tilman Groth
Hi all,
Hi,
Post by Tilman Groth
I would like to change the calltip font to something monospaced as I
want to use it as a kind of title to tables I have in my programs. How
can this be done?
I have this in my ~/.Xresources;
-misc-fixed-medium-r-normal--13-100-100-100-c-70-iso8859-1
Bert
Post by Tilman Groth
Greetings,
Til
--
http://www.nedit.org/mailman/listinfo/discuss
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
John Ferrier
2009-11-05 23:07:55 UTC
Permalink
Just noticed when compiling your GIT source code:

gcc -c -I../Microline -I../Xlt -O3 -W -Wall -Wno-unused -Wno-sign-compare -Wno-strict-aliasing -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DEDITRES -o search.o search.c
search.c: In function ‘WriteSearchHistory’:
search.c:4773: warning: array subscript is below array bounds
search.c:4774: warning: array subscript is below array bounds
search.c: In function ‘rFindArrowKeyCB’:
search.c:2453: warning: array subscript is below array bounds
search.c:2454: warning: array subscript is below array bounds


Regards,

John
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
TK Soh
2009-11-05 23:49:07 UTC
Permalink
which changeset?
Post by John Ferrier
gcc -c -I../Microline -I../Xlt -O3 -W -Wall -Wno-unused -Wno-sign-compare -Wno-strict-aliasing -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DEDITRES -o search.o search.c
search.c:4773: warning: array subscript is below array bounds
search.c:4774: warning: array subscript is below array bounds
search.c:2453: warning: array subscript is below array bounds
search.c:2454: warning: array subscript is below array bounds
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
John Ferrier
2009-11-06 03:21:09 UTC
Permalink
sorry, I sent this message by mistakes. It shouldn't be sent here. I am using Bert's GIT source.

John 




________________________________
From: TK Soh <teekaysoh-***@public.gmane.org>
To: General NEdit discussion list <discuss-***@public.gmane.org>
Sent: Thu, November 5, 2009 5:49:07 PM
Subject: Re: array subscript is below array bounds
which changeset?
Post by John Ferrier
gcc -c -I../Microline -I../Xlt -O3 -W -Wall -Wno-unused -Wno-sign-compare -Wno-strict-aliasing -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DEDITRES -o search.o search.c
search.c:4773: warning: array subscript is below array bounds
search.c:4774: warning: array subscript is below array bounds
search.c:2453: warning: array subscript is below array bounds
search.c:2454: warning: array subscript is below array bounds
--
NEdit Discuss mailing list - ***@nedit.org
http://www.nedit.org/mailman/listinfo/discuss
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
TK Soh
2009-11-06 03:42:09 UTC
Permalink
Post by John Ferrier
sorry, I sent this message by mistakes. It shouldn't be sent here. I am using Bert's GIT source.
I believe it's relevant to this list. Which repo we are using is not
too important.
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Bert Wesarg
2009-11-06 08:09:22 UTC
Permalink
Post by John Ferrier
gcc -c -I../Microline -I../Xlt -O3 -W -Wall -Wno-unused -Wno-sign-compare -Wno-strict-aliasing -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DEDITRES -o search.o search.c
search.c:4773: warning: array subscript is below array bounds
search.c:4774: warning: array subscript is below array bounds
search.c:2453: warning: array subscript is below array bounds
search.c:2454: warning: array subscript is below array bounds
I've checked this a while ago and these are false postives. For the
rFindArrowKeyCB() case we check the return value of historyIndex() a
few lines above, if it is in range. For the WriteSearchHistory() case
(which is from patch #2387569) the loop is in range [1,NHist] which
also never returns a negative index.

Also, I follow TK's argument and extend it: please before you report
problems you see with my nedit-bw.git patch repository to me, please
verify it with an unpatched source tree, whether this comes from the
CVS, GIT, or HG repo is than irrelevant. And than report it to the
list. Thank you.

Regards,
Bert
Post by John Ferrier
Regards,
John
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
TK Soh
2009-11-06 08:43:07 UTC
Permalink
Post by Bert Wesarg
Post by John Ferrier
gcc -c -I../Microline -I../Xlt -O3 -W -Wall -Wno-unused -Wno-sign-compare -Wno-strict-aliasing -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DEDITRES -o search.o search.c
search.c:4773: warning: array subscript is below array bounds
search.c:4774: warning: array subscript is below array bounds
search.c:2453: warning: array subscript is below array bounds
search.c:2454: warning: array subscript is below array bounds
I've checked this a while ago and these are false postives. For the
rFindArrowKeyCB() case we check the return value of historyIndex() a
few lines above, if it is in range. For the WriteSearchHistory() case
(which is from patch #2387569)  the loop is in range [1,NHist] which
also never returns a negative index.
Also, I follow TK's argument and extend it: please before you report
problems you see with my nedit-bw.git patch repository to me, please
verify it with an unpatched source tree, whether this comes from the
CVS, GIT, or HG repo is than irrelevant. And than report it to the
list. Thank you.
Just wondering. Shouldn't any update/report on patches be reported on
the SF's patch trackers? It used to be the process when I was with the
problem earlier.

BTW, (OT) where can I find the git mirror of unpatch source tree? I
still use the mercurial mirror, but it'd be good to know that too ;-)
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Bert Wesarg
2009-11-06 11:17:43 UTC
Permalink
Post by TK Soh
Just wondering. Shouldn't any update/report on patches be reported on
the SF's patch trackers? It used to be the process when I was with the
problem earlier.
Thats correct. I think in this case (because it effects unpatched and
the patch source tree) the main recipient should be the list. This
case is even more spacial, because the patch is from a patch queue,
yes the reporter should've extracted the patch which caused the
warning and just reported it to the patch author. But I does not have
put the patch author for this patch into the patch header, so he could
not know its from the patch tracker. I will fix this.
Post by TK Soh
BTW, (OT) where can I find the git mirror of unpatch source tree? I
still use the mercurial mirror, but it'd be good to know that too ;-)
http://kgb2.thruhere.net/git/?p=nedit.git;a=summary
http://repo.or.cz/w/nedit.git

Bert
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Eric Bouyoux
2009-11-08 19:08:39 UTC
Permalink
Loading...