Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #24201 > unrolled thread
| Started by | don <thedon@here.com> |
|---|---|
| First post | 2013-05-31 10:38 -0400 |
| Last post | 2013-06-02 08:57 +0100 |
| Articles | 20 on this page of 52 — 14 participants |
Back to article view | Back to comp.lang.java.programmer
color coding of text don <thedon@here.com> - 2013-05-31 10:38 -0400
Re: color coding of text Joerg Meier <joergmmeier@arcor.de> - 2013-05-31 17:00 +0200
Re: color coding of text "dstibbe@gmail.com" <dstibbe@gmail.com> - 2013-05-31 08:13 -0700
Re: color coding of text lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-05-31 16:56 +0100
Re: color coding of text Arne Vajhøj <arne@vajhoej.dk> - 2013-06-01 18:10 -0400
Re: color coding of text Roedy Green <see_website@mindprod.com.invalid> - 2013-05-31 09:42 -0700
Re: color coding of text FredK <fred.l.kleinschmidt@gmail.com> - 2013-05-31 11:25 -0700
Re: color coding of text Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-05-31 22:19 -0300
Re: color coding of text Lew <lewbloch@gmail.com> - 2013-05-31 11:48 -0700
Re: color coding of text don <thedon@here.com> - 2013-05-31 16:34 -0400
Re: color coding of text Lew <lewbloch@gmail.com> - 2013-05-31 13:43 -0700
Re: color coding of text don <thedon@here.com> - 2013-05-31 19:17 -0400
Re: color coding of text Joerg Meier <joergmmeier@arcor.de> - 2013-06-01 12:01 +0200
Re: color coding of text Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-06-01 09:15 -0300
Re: color coding of text Arne Vajhøj <arne@vajhoej.dk> - 2013-06-01 18:25 -0400
Re: color coding of text Arne Vajhøj <arne@vajhoej.dk> - 2013-06-01 18:19 -0400
Re: color coding of text Rajiv Gupta <rajiv@invalid.com> - 2013-06-03 22:36 +1000
Re: color coding of text lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-06-01 09:06 +0100
Re: color coding of text Joerg Meier <joergmmeier@arcor.de> - 2013-06-01 12:02 +0200
Re: color coding of text lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-06-01 12:28 +0100
Re: color coding of text Martin Gregorie <martin@address-in-sig.invalid> - 2013-06-01 13:00 +0000
Re: color coding of text Arne Vajhøj <arne@vajhoej.dk> - 2013-06-01 18:33 -0400
Re: color coding of text Lew <lewbloch@gmail.com> - 2013-06-01 17:26 -0700
Re: color coding of text Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-06-01 22:40 -0300
Re: color coding of text Arne Vajhøj <arne@vajhoej.dk> - 2013-06-01 21:52 -0400
Re: color coding of text Robert Klemme <shortcutter@googlemail.com> - 2013-06-01 13:30 +0200
Re: color coding of text Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-06-01 09:30 -0300
Re: color coding of text Arne Vajhøj <arne@vajhoej.dk> - 2013-06-01 18:37 -0400
Re: color coding of text lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-06-02 08:51 +0100
Re: color coding of text Arne Vajhøj <arne@vajhoej.dk> - 2013-06-02 09:47 -0400
Re: color coding of text markspace <markspace@nospam.nospam> - 2013-06-02 07:53 -0700
Re: color coding of text Robert Klemme <shortcutter@googlemail.com> - 2013-06-02 17:46 +0200
Re: color coding of text Arne Vajhøj <arne@vajhoej.dk> - 2013-06-02 12:04 -0400
Re: color coding of text lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-06-01 13:40 +0100
Re: color coding of text Lars Enderin <lars.enderin@telia.com> - 2013-06-01 20:54 +0200
Re: color coding of text lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-06-01 20:04 +0100
Re: color coding of text Lars Enderin <lars.enderin@telia.com> - 2013-06-01 21:31 +0200
Re: color coding of text Joerg Meier <joergmmeier@arcor.de> - 2013-06-02 19:51 +0200
Re: color coding of text Arne Vajhøj <arne@vajhoej.dk> - 2013-06-02 14:11 -0400
Re: color coding of text lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-06-02 19:30 +0100
Re: color coding of text Arne Vajhøj <arne@vajhoej.dk> - 2013-06-01 18:41 -0400
Re: color coding of text lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-06-02 09:02 +0100
Re: color coding of text Arne Vajhøj <arne@vajhoej.dk> - 2013-06-02 09:41 -0400
Re: color coding of text Robert Klemme <shortcutter@googlemail.com> - 2013-06-02 17:47 +0200
Re: color coding of text lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-06-02 18:11 +0100
Re: color coding of text Arne Vajhøj <arne@vajhoej.dk> - 2013-06-02 14:09 -0400
Re: color coding of text Lew <lewbloch@gmail.com> - 2013-06-02 11:45 -0700
Re: color coding of text lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-06-02 20:07 +0100
Re: color coding of text Lew <lewbloch@gmail.com> - 2013-06-02 12:36 -0700
Re: color coding of text lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-06-02 21:24 +0100
Re: color coding of text Lew <lewbloch@gmail.com> - 2013-06-01 19:31 -0700
Re: color coding of text lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-06-02 08:57 +0100
Page 1 of 3 [1] 2 3 Next page →
| From | don <thedon@here.com> |
|---|---|
| Date | 2013-05-31 10:38 -0400 |
| Subject | color coding of text |
| Message-ID | <14p0vs1pebbo1$.p3bnutf2i9u4$.dlg@40tude.net> |
In Word you can select a color for highlighted text. I'd like to be able to do this in eclipse or some other java editor. It would allow you to show a programs structure nicely. Is there such a thing?
[toc] | [next] | [standalone]
| From | Joerg Meier <joergmmeier@arcor.de> |
|---|---|
| Date | 2013-05-31 17:00 +0200 |
| Message-ID | <1bowls3h85uih$.1v5sixwrsprfi.dlg@40tude.net> |
| In reply to | #24201 |
On Fri, 31 May 2013 10:38:51 -0400, don wrote: > In Word you can select a color for highlighted text. I'd like to be able to > do this in eclipse or some other java editor. It would allow you to show a > programs structure nicely. Is there such a thing? The Java compiler will not read files with any sort of artificial colouring codes in them, so even if you find an editor that would allow this, you would then be unable to use it to write Java files that compiled. That being said, most editors have configurable syntax highlighting, and of course you can always simply copy and paste the Java code into Word and colour it there (but then it won't compile anymore obviously). Liebe Gruesse, Joerg -- Ich lese meine Emails nicht, replies to Email bleiben also leider ungelesen.
[toc] | [prev] | [next] | [standalone]
| From | "dstibbe@gmail.com" <dstibbe@gmail.com> |
|---|---|
| Date | 2013-05-31 08:13 -0700 |
| Message-ID | <8f026e93-ab09-4b3a-8329-658a86a17713@googlegroups.com> |
| In reply to | #24201 |
On Friday, 31 May 2013 16:38:51 UTC+2, don wrote: > In Word you can select a color for highlighted text. I'd like to be able to > > do this in eclipse or some other java editor. It would allow you to show a > > programs structure nicely. Is there such a thing? Perhaps this contains your answer: http://stackoverflow.com/questions/3434363/eclipse-how-do-you-change-the-highlight-color-of-the-currently-selected-method
[toc] | [prev] | [next] | [standalone]
| From | lipska the kat <"nospam at neversurrender dot co dot uk"> |
|---|---|
| Date | 2013-05-31 16:56 +0100 |
| Message-ID | <J9KdnUu8D5zQVTXMnZ2dnUVZ7oOdnZ2d@bt.com> |
| In reply to | #24201 |
On 31/05/13 15:38, don wrote: > In Word you can select a color for highlighted text. I'd like to be able to > do this in eclipse or some other java editor. It would allow you to show a > programs structure nicely. Is there such a thing? emacs is almost infinitely configurable and is available for Windows but it can be a bit of a headbanger to get started with http://ftp.gnu.org/gnu/emacs/windows/ gedit allows you to create .lang files in [Ubuntu Linux] /usr/share/gtksourceview-3.0/language-specs/ and is simpler to use and configure but not as flexible also available for Windows https://live.gnome.org/Gedit/Windows I've never used the Windows versions myself. lipska -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2013-06-01 18:10 -0400 |
| Message-ID | <51aa7175$0$32118$14726298@news.sunsite.dk> |
| In reply to | #24204 |
On 5/31/2013 11:56 AM, lipska the kat wrote: > On 31/05/13 15:38, don wrote: >> In Word you can select a color for highlighted text. I'd like to be >> able to >> do this in eclipse or some other java editor. It would allow you to >> show a >> programs structure nicely. Is there such a thing? > > emacs is almost infinitely configurable and is available for Windows > but it can be a bit of a headbanger to get started with > > http://ftp.gnu.org/gnu/emacs/windows/ > > gedit allows you to create .lang files in [Ubuntu Linux] > /usr/share/gtksourceview-3.0/language-specs/ > and is simpler to use and configure but not as flexible > also available for Windows > > https://live.gnome.org/Gedit/Windows > > I've never used the Windows versions myself. JEdit is a nice editor and then it is written in Java. :-) Arne
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2013-05-31 09:42 -0700 |
| Message-ID | <ickhq89ptqj8ubfft2dlqhjbbfa9bs2hv9@4ax.com> |
| In reply to | #24201 |
On Fri, 31 May 2013 10:38:51 -0400, don <thedon@here.com> wrote, quoted or indirectly quoted someone who said : >In Word you can select a color for highlighted text. I'd like to be able to >do this in eclipse or some other java editor. It would allow you to show a >programs structure nicely. Is there such a thing? I have done it two ways: 1. generate simple HTML and have Swing render it. See http://mindprod.com/jgloss/htmlrendering.html I have had very little success rendering "wild" HTML plucked from the web. You can do inline styles, but the markup must be validated and vanilla. 2. I generate binary tokens, one for each string. It includes the text. The type of the token encodes the font size, colours, highlighting etc. Then I use drawString to render this at the lowest level. See http://mindprod.com/products1.html#JDISPLAY -- Roedy Green Canadian Mind Products http://mindprod.com Getting information off the Internet is like taking a drink from a fire hydrant. ~ Mitch Kapor 1950-11-01
[toc] | [prev] | [next] | [standalone]
| From | FredK <fred.l.kleinschmidt@gmail.com> |
|---|---|
| Date | 2013-05-31 11:25 -0700 |
| Message-ID | <9062c505-e899-488a-aee3-e8373d25332b@googlegroups.com> |
| In reply to | #24201 |
On Friday, May 31, 2013 7:38:51 AM UTC-7, don wrote: > In Word you can select a color for highlighted text. I'd like to be able to do this in eclipse or some other java editor. It would allow you to show a programs structure nicely. Is there such a thing? In Eclipse: Window -> Preferences -> Java -> Editor -> Syntax Coloring -- Fred K
[toc] | [prev] | [next] | [standalone]
| From | Arved Sandstrom <asandstrom2@eastlink.ca> |
|---|---|
| Date | 2013-05-31 22:19 -0300 |
| Message-ID | <e_bqt.17272$uT3.1263@newsfe20.iad> |
| In reply to | #24207 |
On 05/31/2013 03:25 PM, FredK wrote: > On Friday, May 31, 2013 7:38:51 AM UTC-7, don wrote: >> In Word you can select a color for highlighted text. I'd like to be able to do this in eclipse or some other java editor. It would allow you to show a programs structure nicely. Is there such a thing? > > In Eclipse: Window -> Preferences -> Java -> Editor -> Syntax Coloring > Best answer. AHS -- When a true genius appears, you can know him by this sign: that all the dunces are in a confederacy against him. -- Jonathan Swift
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2013-05-31 11:48 -0700 |
| Message-ID | <f1cf7ab2-9d27-414c-973e-7b1330266bfc@googlegroups.com> |
| In reply to | #24201 |
On Friday, May 31, 2013 7:38:51 AM UTC-7, don wrote: > In Word you can select a color for highlighted text. I'd like to be able to > do this in eclipse [sic] or some other java [sic] editor. It would allow you to show a > programs [sic] structure nicely. Is there such a thing? RTFM: http://help.eclipse.org/juno/topic/org.eclipse.platform.doc.user/reference/ref-texteditorprefs.htm For more general information: http://lmgtfy.com/?q=Select+color+for+highlighted+text+in+Java+IDE which query led me to the RTFM link. -- Lew
[toc] | [prev] | [next] | [standalone]
| From | don <thedon@here.com> |
|---|---|
| Date | 2013-05-31 16:34 -0400 |
| Message-ID | <1i74ciqpddebn$.jrsb3kk4lml9$.dlg@40tude.net> |
| In reply to | #24210 |
Not the highlight color, the *text* color! I bet you don't speak to people like that in person.
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2013-05-31 13:43 -0700 |
| Message-ID | <c841ebd8-a764-4c35-92bf-ac90c74aa945@googlegroups.com> |
| In reply to | #24215 |
On Friday, May 31, 2013 1:34:38 PM UTC-7, don wrote: > Not the highlight color, the *text* color! You wrote: "In Word you can select a color for highlighted text. I'd like to be able to do this in eclipse [sic] or some other java [sic] editor." You asked for the color for highlighted text. Don't be mad at me for answering the question you actually asked instead of the one you intended to ask. You will note that the query term I suggested was *your* phrase, with the word "Java" added. If you don't like *your own* search phrase, then for God's sake use a different one. Besides, it's the same answer: RTFM! > I bet you don't speak to people like that in person. Did you RTFM first? Did you try an online search first? This is a newsgroup for Java programmers. Part of the essential skill of being a programmer is knowing how to look things up. Something you did not do. The advice is sound. Follow it. Get over yourself. -- Lew
[toc] | [prev] | [next] | [standalone]
| From | don <thedon@here.com> |
|---|---|
| Date | 2013-05-31 19:17 -0400 |
| Message-ID | <y98bw7xkl7am$.dg6081c97mct$.dlg@40tude.net> |
| In reply to | #24216 |
The threads title "color coding of text" might've been a clue… Just sayin. BTW, telling someone to "RTFM" is abusive. Period. That is why you don't say it to someone's face. Get over it.
[toc] | [prev] | [next] | [standalone]
| From | Joerg Meier <joergmmeier@arcor.de> |
|---|---|
| Date | 2013-06-01 12:01 +0200 |
| Message-ID | <1d1dqxzqhmo4h.3mwnouj1wyqh.dlg@40tude.net> |
| In reply to | #24217 |
On Fri, 31 May 2013 19:17:54 -0400, don wrote: > BTW, telling someone to "RTFM" is abusive. > Period. Telling someone to RFTM is in absolutely no way abusive, not even a little bit, not even jokingly. If being told to read the documentation for something you want to use offends you, I recommend you give up on programming and take on something less mentally challenging where you won't be offended by reading documentation. Liebe Gruesse, Joerg -- Ich lese meine Emails nicht, replies to Email bleiben also leider ungelesen.
[toc] | [prev] | [next] | [standalone]
| From | Arved Sandstrom <asandstrom2@eastlink.ca> |
|---|---|
| Date | 2013-06-01 09:15 -0300 |
| Message-ID | <pBlqt.19684$EM6.7126@newsfe04.iad> |
| In reply to | #24222 |
On 06/01/2013 07:01 AM, Joerg Meier wrote: > On Fri, 31 May 2013 19:17:54 -0400, don wrote: > >> BTW, telling someone to "RTFM" is abusive. > >> Period. > > Telling someone to RFTM is in absolutely no way abusive, not even a little > bit, not even jokingly. If being told to read the documentation for > something you want to use offends you, I recommend you give up on > programming and take on something less mentally challenging where you won't > be offended by reading documentation. > > Liebe Gruesse, > Joerg > Considering that it means Read The Fucking Manual, it is actually a somewhat hostile way of telling someone to read the docs. Abusive? Depends on how you the recipient feels when they've been cursed out in a professional forum. Maybe. A neutral way of telling someone to read the docs is "read the docs". Even better, do like FredK did, and provide a useful hint. AHS -- When a true genius appears, you can know him by this sign: that all the dunces are in a confederacy against him. -- Jonathan Swift
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2013-06-01 18:25 -0400 |
| Message-ID | <51aa74f9$0$32117$14726298@news.sunsite.dk> |
| In reply to | #24227 |
On 6/1/2013 8:15 AM, Arved Sandstrom wrote: > On 06/01/2013 07:01 AM, Joerg Meier wrote: >> On Fri, 31 May 2013 19:17:54 -0400, don wrote: >> >>> BTW, telling someone to "RTFM" is abusive. >> >>> Period. >> >> Telling someone to RFTM is in absolutely no way abusive, not even a >> little >> bit, not even jokingly. If being told to read the documentation for >> something you want to use offends you, I recommend you give up on >> programming and take on something less mentally challenging where you >> won't >> be offended by reading documentation. >> > Considering that it means Read The Fucking Manual, it is actually a > somewhat hostile way of telling someone to read the docs. Abusive? > Depends on how you the recipient feels when they've been cursed out in a > professional forum. Maybe. > > A neutral way of telling someone to read the docs is "read the docs". > > Even better, do like FredK did, and provide a useful hint. Well - the F can stand for "Fine" as well. Or a few less used words starting with F. And even if Lew actually meant "Fucking", then I find it difficult to see as being abusive given the context of internet year 2013. I am not even sure that I would call it rude. I would call it harsh. Arne
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2013-06-01 18:19 -0400 |
| Message-ID | <51aa7376$0$32117$14726298@news.sunsite.dk> |
| In reply to | #24217 |
On 5/31/2013 7:17 PM, don wrote: > The threads title "color coding of text" might've been a clue… > > Just sayin. It is a clue. But you can hardly criticize somebody for assuming that you meant what you wrote in the message body. > BTW, telling someone to "RTFM" is abusive. RTFM without any reference to what FM is not abusive. It is not very helpful either. RTFM with a reference to a FM is not abusive and it is helpful. Lew did provide a link to the FM for highlighting in his first reply. He did not in his second reply for text, but a minimum of search would in the first link would fine the requested information. > Period. Making claims and then say "period" does convince many about the validity of the claim. Most likely the opposite. Arne
[toc] | [prev] | [next] | [standalone]
| From | Rajiv Gupta <rajiv@invalid.com> |
|---|---|
| Date | 2013-06-03 22:36 +1000 |
| Message-ID | <koi2jp$89b$1@speranza.aioe.org> |
| In reply to | #24217 |
On 2013-06-01 09:17:54 +1000, don said: > The threads title "color coding of text" might've been a clue… > > Just sayin. > > BTW, telling someone to "RTFM" is abusive. > > Period. > > That is why you don't say it to someone's face. > > Get over it. Don't worry about him. He is just a pedant who appears to have become stuck in a Java warp and hasn't progressed to more advanced and productive programming languages. He can't be much good as a programmer either, because he spends way too much time on usenet being a prick. Rajiv
[toc] | [prev] | [next] | [standalone]
| From | lipska the kat <"nospam at neversurrender dot co dot uk"> |
|---|---|
| Date | 2013-06-01 09:06 +0100 |
| Message-ID | <EKCdnaKsbJgFNjTMnZ2dnUVZ8oKdnZ2d@bt.com> |
| In reply to | #24216 |
On 31/05/13 21:43, Lew wrote: > On Friday, May 31, 2013 1:34:38 PM UTC-7, don wrote: >> Not the highlight color, the *text* color! > > You wrote: > "In Word you can select a color for highlighted text. [snip] > The advice is sound. Follow it. Get over yourself. Why can't you just give advice? Why do you always feel it necessary to behave like a total arsehole? Why do you even bother, if you don't think the question a valid one then why bother to respond? Your bizarre behavior lowers the tone of the group get over yourself, you really are not that important. lipska -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun
[toc] | [prev] | [next] | [standalone]
| From | Joerg Meier <joergmmeier@arcor.de> |
|---|---|
| Date | 2013-06-01 12:02 +0200 |
| Message-ID | <9qj0bh8j18i3$.cvro6ks38uny.dlg@40tude.net> |
| In reply to | #24221 |
On Sat, 01 Jun 2013 09:06:47 +0100, lipska the kat wrote: > Why can't you just give advice? > Why do you always feel it necessary to behave like > a total arsehole? In his defense, his original advice was in a neutral tone, he only turned rude when he was yelled at instead of thanked by the ungrateful original poster for posting his link. Liebe Gruesse, Joerg -- Ich lese meine Emails nicht, replies to Email bleiben also leider ungelesen.
[toc] | [prev] | [next] | [standalone]
| From | lipska the kat <"nospam at neversurrender dot co dot uk"> |
|---|---|
| Date | 2013-06-01 12:28 +0100 |
| Message-ID | <C5idnZnzO4lqRzTMnZ2dnUVZ7sidnZ2d@bt.com> |
| In reply to | #24223 |
On 01/06/13 11:02, Joerg Meier wrote: > On Sat, 01 Jun 2013 09:06:47 +0100, lipska the kat wrote: > >> Why can't you just give advice? >> Why do you always feel it necessary to behave like >> a total arsehole? > > In his defense, his original advice was in a neutral tone, he only turned > rude when he was yelled at instead of thanked by the ungrateful original > poster for posting his link There are many reasons people post to Usenet Joerg, maybe they would like to start a conversation with like minded people but don't know how to start, maybe they are trying to make some friends, maybe they are not experienced with search engines and don't know how to sift the wheat from the chaff. Maybe they are just starting out on Usenet and don't understand the protocols yet. A first response of RTFM is not really helpful is it. If I just wanted to Read The Fucking Manual I wouldn't be here. Bloch-local invariably gives RTFM as a first response, look back and see how many new posters he pisses off with this smart arse attitude. ... and as for all this [sic] nonsense, it's just designed as a wind up, no need to do it if you are just quoting the original text, he's a wind up merchant, nothing more. As the OP opined, I'd bet he wouldn't be such a smart arse face to face. lipska -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun
[toc] | [prev] | [next] | [standalone]
Page 1 of 3 [1] 2 3 Next page →
Back to top | Article view | comp.lang.java.programmer
csiph-web