Bug 65434 - FORMATTING: hitting TAB when multiple lines are selected, should change indent of all selected lines
Summary: FORMATTING: hitting TAB when multiple lines are selected, should change inden...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph
  Show dependency treegraph
 
Reported: 2013-06-05 22:00 UTC by Samuel Mehrbrodt (CIB)
Modified: 2017-09-23 20:42 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Mehrbrodt (CIB) 2013-06-05 22:00:08 UTC
How to reproduce:
1. Create two lines with text in Writer
2. Select them
3. Press Tabulator

Expected behavior:
A tab should be added to all selected lines

Actual behavior:
The selected text is deleted and one tab is added.


This enhancement would be helpful when working with source code in Writer.
Comment 1 m.a.riosv 2013-06-05 22:31:21 UTC
Hi Samuel,
LibreOffice Writer, I think, it is not design for deal with source code. Paragraph oriented, do not seems easy find this enhancement implemented.

A couple of extensions can help you:
http://extensions.libreoffice.org/extension-center/code-colorizer-formatter
http://extensions.libreoffice.org/extension-center/coooder

Maybe other open source editors can help better your purpose, a little search on the net.

Please if you find a good way for your work, close this bug.
Comment 2 Cor Nouws 2013-06-06 07:22:12 UTC
I agree with mariosv.
Hope you can make a good choise for a real source code editor, Samuel. Cheers - Cor
Comment 3 Samuel Mehrbrodt (CIB) 2013-06-06 08:11:23 UTC
I'm not looking for a source code editor. I create documents where source code is embedded and for that reason I need this feature.

The mentioned extensions don't indent the code, they just put some styles on it.
Comment 4 Cor Nouws 2013-06-06 09:17:08 UTC
(In reply to comment #3)
> I'm not looking for a source code editor. I create documents where source
> code is embedded and for that reason I need this feature.

Sorry that I did not get that right !

Wouldn't it be an idea to use a paragraph style with indent, font, color etc? That is how I solve these things.
Comment 5 Cor Nouws 2013-06-06 09:42:42 UTC
(In reply to comment #0)
> Expected behavior:
> A tab should be added to all selected lines

Not sure if *expected* is right, but - true is true - when you select more lines with bullets/ numbering, the behaviour is as requested..

Set the version to 330 - it's obviously inherrited from OOo.
Comment 6 Cor Nouws 2014-11-04 20:59:13 UTC
Still a valid request (though IMO not so useful ;))
Comment 7 jddcef 2015-10-12 20:36:14 UTC
I would like to upvote this issue. It's a major issue when working on any document. For example, when I have a numbered paragraph that is indented and I want each line to match the indentation of the first line. I can't go and tab each line, that's frustating.

I was helping a friend on his brochure handout for mass, and I ran into this issue and was embarrassed by it, because I was the one who installed LibreOffice on his computer.