Article View: comp.lang.java.advocacy
Article #91Re: Which one for Newbie (Java - Eclipse or JBuilder)
From: Hauke Ingmar Schmidt
Date: Fri, 26 Jul 2002 21:01
Date: Fri, 26 Jul 2002 21:01
64 lines
4497 bytes
4497 bytes
Moin! Dale King <KingD@TCE.com> schrieb: > "Hauke Ingmar Schmidt" <usenet@haukeingmar.de> wrote in message > news:ahneaj$ulpsj$1@ID-76405.news.dfncis.de... >> Dale King <KingD@TCE.com> schrieb: >> Tabs do. A tab sets the cursor to the next tab stop; it is not moving >> the cursor for a special number of spaces (only at very simple >> editors). So if the next tab stop is at e.g. column 16 (which >> normally is not "16 characters from the left margin" but units of >> your choice, centimeter, millimeter, miles...) and both of the types >> above end before column 16 it aligns perfectly. Only if one of the >> texts goes beyond the tab stop the alignment will be disturbed. > > And the meaning of next tab stop differs based on the width of the > text before it. You are the one suggesting different fonts and > proportional fonts. Depending on the size of your proportional font > next tab stop will differ. The meaning does not differ. Only in very simple editors which replace tabs by spaces. Otherwise a tab stop is a column. A tab jumps to this column. > >>> Tabs will line it up for a particular font, but >>> is not portable to a different font. >> >> Tabs don't care for fonts. > > Well, you were the one bringing proportional fonts into this. If I > take code with tabs to line that up with one font at a particular > size it will become unaligned as I change fonts or font sizes. Once > again tabs are not portable. No, again it does not. It does, if you use simple software that replaces a tab by a specified number of spaces. But that is really old software which should fall out of work. >>> For indentation tabs only or spaces only will both work if your tool >>> supports tabs (which once again not all tools do). >> >> For example? > > I've already said that I have seen compiler error outputs not work > well with tabs and difference tools. Do I have the names of specific > products? No. It has been a while since I looked at difference tools > and believe me I looked at a lot of them. I guess there is NONE that produces problems with tabs that was designed for Java. > I ran into a tabs vs. spaces thing myself just this past week. I have > a Java program that reads a file with commands where each command is > a single line of text or a comment. This file is read and each line > becomes an item in a JList. The person that created the file in his > text editor had tabs in the comments. In the JList they showed up as > boxes. There was no way to handle this elegantly, so I just replaces > the tabs with a space. Now they don't line up. Write a better listrenderer that handles tabs. Yours obviously does not. Bye Hauke Ingmar
Technical Details
Message-ID:
<ahsdb4$viobd$1@ID-76405.news.dfncis.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!141.48.223.9!not-for-mailReferences:
<7emX8.89256$p85.2379351@twister.austin.rr.com> <3D32F842.EC524346@geocities.com> <ImDY8.123314$q53.2997975@twister.austin.rr.com> <3D3399A2.60FE1538@geocities.com> <8mWY8.114665$eF5.3184024@twister.austin.rr.com> <ah1k6f$6v2$1@helle.btinternet.com> <55e900c9.0207161408.fb4c3b3@posting.google.com> <rs5bjuok6d7urbm0kl3pti3q18mknvsaur@4ax.com> <3d3c4db4@news.tce.com> <fJY_8.160787$eF5.4247098@twister.austin.rr.com> <3d3c79d7@news.tce.com> <Ns%_8.161160$eF5.4268956@twister.austin.rr.com> <55e900c9.0207231412.2ca51206@posting.google.com> <spA%8.108342$88.1818670@twister.austin.rr.com> <3d3f300e@news.tce.com> <ahneaj$ulpsj$1@ID-76405.news.dfncis.de> <3d405a1d@news.tce.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb77,9881175998020bf0 X-Google-Attributes: gidfdb77,public X-Google-Thread: 10cf9d,9881175998020bf0 X-Google-Attributes: gid10cf9d,public X-Google-Thread: 10a146,9881175998020bf0 X-Google-Attributes: gid10a146,public X-Google-ArrivalTime: 2002-07-26 14:01:26 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!141.48.223.9!not-for-mail From: "Hauke Ingmar Schmidt" <usenet@haukeingmar.de> Newsgroups: comp.lang.java.advocacy,comp.lang.java.programmer,borland.public.jbuilder.non-technical Subject: Re: Which one for Newbie (Java - Eclipse or JBuilder) Date: Fri, 26 Jul 2002 23:01:52 +0200 Lines: 66 Message-ID: <ahsdb4$viobd$1@ID-76405.news.dfncis.de> References: <7emX8.89256$p85.2379351@twister.austin.rr.com> <3D32F842.EC524346@geocities.com> <ImDY8.123314$q53.2997975@twister.austin.rr.com> <3D3399A2.60FE1538@geocities.com> <8mWY8.114665$eF5.3184024@twister.austin.rr.com> <ah1k6f$6v2$1@helle.btinternet.com> <55e900c9.0207161408.fb4c3b3@posting.google.com> <rs5bjuok6d7urbm0kl3pti3q18mknvsaur@4ax.com> <3d3c4db4@news.tce.com> <fJY_8.160787$eF5.4247098@twister.austin.rr.com> <3d3c79d7@news.tce.com> <Ns%_8.161160$eF5.4268956@twister.austin.rr.com> <55e900c9.0207231412.2ca51206@posting.google.com> <spA%8.108342$88.1818670@twister.austin.rr.com> <3d3f300e@news.tce.com> <ahneaj$ulpsj$1@ID-76405.news.dfncis.de> <3d405a1d@news.tce.com> NNTP-Posting-Host: 141.48.223.9 X-Trace: fu-berlin.de 1027717285 33120621 141.48.223.9 (16 [76405]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000