https://bugs.documentfoundation.org/show_bug.cgi?id=153979

            Bug ID: 153979
           Summary: AutoCorrect: Many symbol replacements should be
                    defined for [All], not language-by-language, and work
                    in [None]
           Product: LibreOffice
           Version: 7.4.5.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Probably blocked by #141773.



Steps to Reproduce:
1. Open Writer
2. Go to Tools > AutoCorrect > AutoCorrect Options


Actual Results:
You will see your current language being selected, and a long list of symbol
auto-replacements, starting with

    -->             →
    :_-:            ₋
    :_(:            ₍

Expected Results:
Most of these replacements aren't actually language specific, and they should
instead be defined in [All], for easier maintainability, more flexibility in
the options, and availability in the [None] language context, see below:


Reproducible: Always


User Profile Reset: No

Additional Info:


----------------------------
1. EASIER MAINTAINABILITY
----------------------------

I would expect, that keeping the list of symbol replacements consistent across
languages already uses some "all languages" table in the built process.

Such an option does not exist for the end user though, and the end user has to
manually add new symbols to all languages they use.



-----------------
2. FLEXIBILITY
-----------------

I usually prefer to disable auto-replacement options, but I would prefer to
retain the symbol auto-replacements.

Currently I simply delete auto-replacements that get in the way, but it isn't
ideal and can be a nuisance whenever using a new setup.

Separating such non-language replacements into the [All] category, or maybe a
newly created [Symbols] category, would allow making "disable word replacement
rules" and "disable symbol replacement rules" separate options.



---------------------------------
3. THE [None] LANGUAGE CONTEXT
---------------------------------

I came across this issue when using the [None] language option. For instance, I
wanted to write something like

    Entry1 → Entry2 → Entry3

to describe a dropdown menu sequence, or order of actions, where the words are
things like function names, that do not constitute valid dictionary words (e.g.
due to the use of CamelCase).

Another use case would be creating inline equations in Impress, where the
equation editor cannot be used for the purpose. Writing something like

    f(t) = sin(i:omega:t), producing
    f(t) = sin(iωt)

could be quite useful, but as written will have iωt flagged by the spell
checker. 

Combined with the need to set a distinct font, it makes sense to define a
character style, that

  - switches the font to a serif font in italics
  - sets language to [None]

But this then hampers the workflow, as setting the language to [None] can be
done only after using the auto-replace entries.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to