Why do my custom paragraph styles change after I hit <CR>?

asked 2019-05-20 06:39:16 +0100

geraldike gravatar image

updated 2019-05-20 06:45:04 +0100

Let's say I have two custom text formatting styles called TextA and TextB. TextB is the main formatting style I want to use in the document.

I type a paragraph in TextB. The style has the stipulation that the style of the next paragraph should also be TextB.

I hit the <cr>. As soon as I do, the style of the first paragraph changes into TextA. The new paragraph will be TextB, but the paragraph I just finished has been changed into TextA.

Why is this happening? It does not do this with all my styles, just some of them. I have not been able to figure out any set conditions under which this happens. TextB says the next style should be TextB. They are not inherited from each other, or even from the same parent style; both come from different styles. TextA is inherited from the default style, TextB is not.

To fix it, all I need to do is to type a cntl-Z to undo the style change, and it reverts back to the style I want (TextB), still maintaining the new paragraph at the proper style, so there seems to be a two-step process involved here which can be undone. BUT I don't want to have to do a cntl-Z after every paragraph.

edit retag flag offensive close merge delete

Comments

And what is shown in EditUndo:???before you hit Ctrl+Z? Possibly the wording there in place of ??? would give a hint, like AutoCorrect or something?

Mike Kaganski gravatar imageMike Kaganski ( 2019-05-20 07:30:09 +0100 )edit

@geraldike Upload a sample file.

Grantler gravatar imageGrantler ( 2019-05-20 13:30:40 +0100 )edit

@Mike Kaganski -- You just solved the problem for me. AutoCorrect was set to automatically change styles. I never really explored what kinds of things AutoCorrect does. Changing that seems to have done the trick. Thanks.

geraldike gravatar imagegeraldike ( 2019-05-20 14:35:46 +0100 )edit