Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Insert Spaces for Tabs - After the Fact
Insert Spaces for Tabs - After the Fact [message #337053] Fri, 24 July 2009 18:27 Go to next message
P. Michael Hutchins is currently offline P. Michael HutchinsFriend
Messages: 19
Registered: July 2009
Junior Member
It would be valuable for me to be able to paste into a text editor a block
of text..
(eg: from an XL spreadsheet outputted as tab-delimited)

..and then (immediately) thereafter, have all those tabs changed to the
number of spaces each represents.

(even though the editor doesn't let me specify as many spaces for tabs as
is needed sometimes)

Is that possible?


If not, 2nd best would be to understand when the editor decides to do that
substitution.

Reading what postings I've been able to find, it appears that it's meant
to be only on ~new tab insertions~..
..and yet, I just had an experience which strongly suggests that it
happens at other times.
:
I spent /forever/ manually fixing up a table w/ tab size of 16..
..and then set it back to 3 to go back to my normal editing.
When I opened the file next, all my tab-formatting in the table was
screwed up - just as (I didn't check carefully enf) all the tabs had been
replaced by 3 spaces.
Re: Insert Spaces for Tabs - After the Fact [message #337094 is a reply to message #337053] Mon, 27 July 2009 17:00 Go to previous message
P. Michael Hutchins is currently offline P. Michael HutchinsFriend
Messages: 19
Registered: July 2009
Junior Member
That's how it works when you have Insert spaces for tabs checked.

(I mean D. U. H. ;-)
Previous Topic:Rebuilding references/declarations database
Next Topic:PlatformUI.getWorkbench().saveAll with ISaveableFilter on IFile
Goto Forum:
  


Current Time: Thu Jul 25 18:34:07 GMT 2024

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

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

Back to the top