|
Re: Disappearing Text with Tabs & Quotes? [message #251651 is a reply to message #251647] |
Thu, 28 February 2008 00:43 |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
"Brian Elliott" <briandavidelliott@gmail.com> wrote in message
news:80179d995023ae4dbf75cf4471dd23a8$1@www.eclipse.org...
>A line of text in my Eclipse 3.3.1.1 or 3.3 or 3.2.2 editor will
>essentially disappear if a tab precedes it or the line contains a double
>quote character. I can even key in text and then a double quote and the
>whole line disappears.
> The text that disappears is actually still there but unreadable (the text
> foreground is the same as the background color). And if I highlight the
> line, a highlight box appears around the invisible text and tool tip help
> will popup with information.
> I have tried everything I can think of from trying different users and
> different versions of eclipse and changing my environment variables. This
> only happens on one of my servers but not the other ones.
Have you tried resetting defaults in the editor font & color settings
dialog?
Does this happen only in one workspace, or in all workspaces (e.g., if you
create a brand new workspace does the same thing happen)?
|
|
|
|
Re: Disappearing Text with Tabs & Quotes? [message #251667 is a reply to message #251655] |
Thu, 28 February 2008 16:15 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Brian Elliott wrote:
> Walter Harley wrote:
>
>> Have you tried resetting defaults in the editor font & color settings
>> dialog?
>
> Yes I have tried the Restore Defaults option at every level on the
> options dialog including the font colors and the autocomplete areas.
> Even at the highest level of "General".
>
>> Does this happen only in one workspace, or in all workspaces (e.g., if
>> you create a brand new workspace does the same thing happen)?
>
> This happens in all workspaces - existing as well as brand new ones that
> have not existed previously.
>
> I have also tried using the -clean option at startup.
>
>
Can you post a screenshot somewhere for us to see?
Eric
|
|
|
|
Re: Disappearing Text with Tabs & Quotes? [message #251673 is a reply to message #251667] |
Thu, 28 February 2008 21:18 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Brian Elliott wrote:
>> Walter Harley wrote:
>>
>>> Have you tried resetting defaults in the editor font & color settings
>>> dialog?
>>
>> Yes I have tried the Restore Defaults option at every level on the
>> options dialog including the font colors and the autocomplete areas.
>> Even at the highest level of "General".
>>
>>> Does this happen only in one workspace, or in all workspaces (e.g.,
>>> if you create a brand new workspace does the same thing happen)?
>>
>> This happens in all workspaces - existing as well as brand new ones
>> that have not existed previously.
>>
>> I have also tried using the -clean option at startup.
Does the same thing happen if you disable folding in the preferences?
Also, what platform are you on and what Eclipse version?
Eric
|
|
|
|
Re: Disappearing Text with Tabs & Quotes? [message #251717 is a reply to message #251676] |
Fri, 29 February 2008 16:06 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Brian Elliott wrote:
> Eric Rizzo wrote:
>> Does the same thing happen if you disable folding in the preferences?
>
> No change when I turn the folding preferences off. :( I also turned off
> the typing preferences to automatically close Strings and all
> tab/tabbing preferences.
>
>> Also, what platform are you on and what Eclipse version?
>
> It happens in these 3 different versions of Eclipse: 3.2.2, 3.3.1.1 and
> 3.3.
>
What OS?
I think this has got to be something about your window manager settings,
so knowing what OS (and window manager / GUI toolkit if on Linux) might
give some clues.
Eric
|
|
|
|
|
|
Re: Disappearing Text with Tabs & Quotes? [message #251840 is a reply to message #251761] |
Mon, 03 March 2008 16:19 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Brian Elliott wrote:
> Here is a video clip of the problem as I key in text and then a double
> quote character. The line will then disappear:
>
> http://www.youtube.com/watch?v=xPcvB27jgiE
>
> It is a bit shaky and blurry but I think it demonstrates what is happening.
>
I forget if you've already looked into this, but...
If you go to Preferences > Java > Editor > Syntax Coloring, do you see
the same kind of display Strings (under the Java branch of the tree
there)? There is a line of code in the Preview pane that reads:
@SuppressWarnings(value="all")
Does that line look the same as in your Java editor? Can you make
adjustments to those settings to get things looking better?
Eric
|
|
|
|
Re: Disappearing Text with Tabs & Quotes? [message #251848 is a reply to message #251844] |
Tue, 04 March 2008 15:40 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Brian Elliott wrote:
> Eric Rizzo wrote:
>> If you go to Preferences > Java > Editor > Syntax Coloring, do you see
>> the same kind of display Strings (under the Java branch of the tree
>> there)? There is a line of code in the Preview pane that reads:
>> @SuppressWarnings(value="all")
>> Does that line look the same as in your Java editor? Can you make
>> adjustments to those settings to get things looking better?
>
> I found the preview and the lines are messed up there too:
>
> http://www.unpluggedsystems.com/images/preview.gif
>
> And changing the settings does not help but if go into the "Formatter"
> settings under "Code Style" and create a new Profile and change the "Tab
> policy" to "Spaces only", the preview changes and the text goes from
> non-display to appearing:
>
> http://www.unpluggedsystems.com/images/preview2.gif
>
> The only thing is I can't get this profile to apply to my messed up code
> even though I change the settings in "Configure Project Specific
> Settings" and assign the new profile to the messed up project.
>
> This doesn't explain the problem with the double quotes but does convert
> the tabs to spaces to workaround the tab problem. I don't see double
> quotes in my preview window anywhere (as you suggested) to see if
> changing the settings effects the double quotes. If I do pick "Apply"
> after changing the settings the double quote problem still exists in my
> editor.
>
The formatter does not automatically re-format all your code, so to see
its affect you'd have to explicitly do that (right-click on a project or
package or class and choose Source > Format).
But as you say that is only a work-around (replacing tabs with spaces).
At this point I still think this is related to your window manager
settings. My last suggestion is to file a bug report that includes all
the details of your system (OS and version, window manager and version,
Eclipse version, JVM version) and attach the screenshot above
(http://www.unpluggedsystems.com/images/preview.gif) as well as the ones
you sent earlier of your actual code.
A bug report is the real way to get an Eclipse developer's attention.
http://bugs.eclipse.org/bugs
Hope this helps,
Eric
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04136 seconds