# How to end autoformat bold and underline? [closed]

I used to love the ability to bold and italicize text without removing my hands from the keyboard, but in recent versions of LibreOffice when I surround text with asterisks or underscores to bold or underline text using autoformatting, the bold/underline continues after the closing character. This completely defeats the purpose, since I now have to remove my hands from the keyboard to turn off bold/underline.

Is this a bug, or is there an option or setting to remedy this that I'm overlooking?

edit retag reopen merge delete

### Closed for the following reason duplicate question by Alex Kemp close date 2015-10-26 19:50:16.308187

@marisov: Thanks for the tip about Ctrl-M. That does at least provide one solution to the problem. However, it still seems like the closing asterisk or underscore should end the bold or underline (which it used to do). Using another keystroke to do this shouldn't be necessary.

( 2013-02-17 00:45:14 +0200 )edit
1

@qubit: I've filed a bug report (fdo#62536). It does seem to be a state-based bug, since as you said it starts behaving as expected if I (immediately) use the toolbar to toggle the formatting.

( 2013-03-18 22:33:13 +0200 )edit

Sort by » oldest newest most voted
more

I do not know if it is a bug but may be Ctrl+M can serve to recover your previous format.

more

Hi @matt_b,

(testing on LO 4.0.0.3 + Ubuntu 12.04.2)

I can confirm that using asterisks to bold a section of text does not seem to work as it should. Repro steps

1. Open LO Writer
2. Type the following verbatim:

I hid the *pitchfork* in the silverware drawer

RESULT: The text displays like this:

I hid the pitchfork in the silverware drawer

EXPECTED: The text to display like this:

I hid the pitchfork in the silverware drawer

I see the same issue with underscores for underlining.

WORKAROUND: Could you try using Ctrl-B and Ctrl-I to toggle Bold and Italic on/off from your keyboard?

NOTE: This might be some kind of state-based bug. Once I toggle-off the formatting via the GUI or using a keystroke (e.g. Ctrl-B), the end character (*, _, etc...) will correctly close a section of formatted text. This persists until the document is closed.

In any case, this is definitely something QA should take a look at! Please file a bug and provide a list of steps that can reproduce your problem (Please feel free to steal mine -- just make sure to include that NOTE :-). The QA team will be happy to help you track down this issue!

Please post a link to any bugs you file in a comment below using the format "fdo#123456".

Thanks!

more