SOLVED? Tab Insert Spaces Option Not Working Correctly

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
tim_crouse
Posts: 60
Joined: 12 Apr 2024 00:22

SOLVED? Tab Insert Spaces Option Not Working Correctly

Post by tim_crouse »

I enabled the tab insert space setting but the tab character appears to be present.

I say this because when I try to copy and paste the code into Excel it sees an error. When I copy the text and paste it into an online converter to convert tabs to spaces then copy and paste the converted test into excel the formula works.

Am I misunderstanding the function of "Tab Insert Spaces"?

I have also tried it with smart tab enabled and have also disabled preserve tab characters.
But have had no success in using the text straight from RJ TE pasted into MS Excel.

Thanks in Advance
-Tim C.
tim_crouse
Posts: 60
Joined: 12 Apr 2024 00:22

Re: Tab Insert Spaces Option Not Working Correctly

Post by tim_crouse »

I was able to manually convert Tabs to Spaces via FORMAT >> TAB AND SPACES formatting function.

-Tim C.
tim_crouse
Posts: 60
Joined: 12 Apr 2024 00:22

Re: Tab Insert Spaces Option Not Working Correctly

Post by tim_crouse »

One more piece of the puzzle:
All languages was selected under the highlighter setting.

Clarifying info I was editing a document with the syntax highlighter set to C++. This is where the tab-to-space conversion was not happening. I then tried the same operation using the text file syntax highlighter and the tab to space worked in real-time as I was editing the document.

Hope this info helps you get to the bottom of the issue.
Best Regards
-Tim C.
User avatar
pjj
Posts: 2130
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: Tab Insert Spaces Option Not Working Correctly

Post by pjj »

Yup, this is interesting: even without "Tab inserts spaces" checked, my tab inserts spaces, and only when I check "Preserve tabs characters" I can haz tabs. (I have same settings for all languages.)

Something here is really off :?
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
Rickard Johansson
Site Admin
Posts: 6630
Joined: 19 Jul 2006 14:29

Re: Tab Insert Spaces Option Not Working Correctly

Post by Rickard Johansson »

"Preserve tabs characters" should be set when you're not using "Tab inserts spaces" (if you're using tab characters you obviously want them preserved when you open or save the document). I'll fix that in a later release.

tim_crouse: Please check you setting when the C++ highlighter is selected. You can't see if you have a different individual setting when "All languages" is selected.
tim_crouse
Posts: 60
Joined: 12 Apr 2024 00:22

Re: Tab Insert Spaces Option Not Working Correctly

Post by tim_crouse »

I do not have individual settings that apply to C++ syntax highlighter.
User avatar
Rickard Johansson
Site Admin
Posts: 6630
Joined: 19 Jul 2006 14:29

Re: Tab Insert Spaces Option Not Working Correctly

Post by Rickard Johansson »

I think this is related to the .txt extension being assigned to a highlighter.

I'm marking this issue as solved.
tim_crouse
Posts: 60
Joined: 12 Apr 2024 00:22

Re: SOLVED? Tab Insert Spaces Option Not Working Correctly

Post by tim_crouse »

Soooo will there be a logic test put in place to prevent this scenario?
Post Reply