Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » How to control cut-off text in tabs title
How to control cut-off text in tabs title [message #68966] Mon, 26 September 2005 19:54 Go to next message
Eclipse UserFriend
Originally posted by: jzhang.informatica.com

Eclipse guru,

Eclipse IDE has tabs which cut off text unlike the windows system tabs. I
want to control eclipse cut-off behavior. Does someone know in which
source code eclipse control the text cut-off? E.g. When a file is opened,
how ecplise openes a new tab panel and control the cut-off? When the
editor is resize, which event handler catches this event and
increase/reduce tabs and controles the cut-off?
Re: How to control cut-off text in tabs title [message #68988 is a reply to message #68966] Mon, 26 September 2005 20:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: veronika_irvine.oti.com

Questions about the eclipse platform use and design will get answered more
quickly if you ask in the eclipse.platform newsgroup:

news://news.eclipse.org/eclipse.platform

You can change the minimum number of characters shown in a tab by adding the
following line:

org.eclipse.ui/EDITOR_MINIMUM_CHARACTERS=80

(where 80 is the number value the minimum number of characters including
....) to the file
eclipse\plugins\org.eclipse.platform_3.1.0\plugin_customizat ion.ini

I am not sure if this is what you are looking for. Hope it helps.

"john.zhang" <jzhang@informatica.com> wrote in message
news:7a956fd0310999cba463adf5ee33a5d9$1@www.eclipse.org...
> Eclipse guru,
> Eclipse IDE has tabs which cut off text unlike the windows system tabs. I
> want to control eclipse cut-off behavior. Does someone know in which
> source code eclipse control the text cut-off? E.g. When a file is opened,
> how ecplise openes a new tab panel and control the cut-off? When the
> editor is resize, which event handler catches this event and
> increase/reduce tabs and controles the cut-off?
>
>
Re: How to control cut-off text in tabs title [message #69009 is a reply to message #68988] Mon, 26 September 2005 23:33 Go to previous message
Eclipse UserFriend
Originally posted by: jzhang.informatica.com

I may have to make clear this question. Say, I open 10 java files in the
editor. Ecplise show 4 files in the 4-tab panel and put 6 file in the show
drop-down list. The filenames of those 4 files (temp1.java, temp2.java,
temp3.java, temp4.java) are fully shown in the titles of the tabs. When I
shrink the edtor size. Ecplise may still show 4 files in the 4-tab panel
and put 6 files in the show drop-down list. However, it may cut off some
characters and show the filenames as (temp1.j..., temp2.j..., temp3.j...,
temp4.j...)in tha tab title.

My question is that I want to customize the code and control the tabs
alway show full filename (and put the file in the show drop-down list if
necessary) instead of cut off some characters.

May someone tells me where Eclipse control this cutoff ?

Thanks a lot
Re: How to control cut-off text in tabs title [message #599162 is a reply to message #68966] Mon, 26 September 2005 20:21 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Questions about the eclipse platform use and design will get answered more
quickly if you ask in the eclipse.platform newsgroup:

news://news.eclipse.org/eclipse.platform

You can change the minimum number of characters shown in a tab by adding the
following line:

org.eclipse.ui/EDITOR_MINIMUM_CHARACTERS=80

(where 80 is the number value the minimum number of characters including
....) to the file
eclipse\plugins\org.eclipse.platform_3.1.0\plugin_customizat ion.ini

I am not sure if this is what you are looking for. Hope it helps.

"john.zhang" <jzhang@informatica.com> wrote in message
news:7a956fd0310999cba463adf5ee33a5d9$1@www.eclipse.org...
> Eclipse guru,
> Eclipse IDE has tabs which cut off text unlike the windows system tabs. I
> want to control eclipse cut-off behavior. Does someone know in which
> source code eclipse control the text cut-off? E.g. When a file is opened,
> how ecplise openes a new tab panel and control the cut-off? When the
> editor is resize, which event handler catches this event and
> increase/reduce tabs and controles the cut-off?
>
>
Re: How to control cut-off text in tabs title [message #599176 is a reply to message #68988] Mon, 26 September 2005 23:33 Go to previous message
Eclipse UserFriend
Originally posted by: jzhang.informatica.com

I may have to make clear this question. Say, I open 10 java files in the
editor. Ecplise show 4 files in the 4-tab panel and put 6 file in the show
drop-down list. The filenames of those 4 files (temp1.java, temp2.java,
temp3.java, temp4.java) are fully shown in the titles of the tabs. When I
shrink the edtor size. Ecplise may still show 4 files in the 4-tab panel
and put 6 files in the show drop-down list. However, it may cut off some
characters and show the filenames as (temp1.j..., temp2.j..., temp3.j...,
temp4.j...)in tha tab title.

My question is that I want to customize the code and control the tabs
alway show full filename (and put the file in the show drop-down list if
necessary) instead of cut off some characters.

May someone tells me where Eclipse control this cutoff ?

Thanks a lot
Previous Topic:How to control cut-off text in tabs title
Next Topic:Cannot build Eclipse-sourceBuild
Goto Forum:
  


Current Time: Sat Apr 27 04:30:54 GMT 2024

Powered by FUDForum. Page generated in 0.03159 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top