this issue is has been inherited from OOo. the autocorrect replacement table does not actually accepts entries longer than 30 digits in the "replace" field. I do not know what's the rationale behind this lenght limitation, but I'd like that longer strings could be handled as well.
It would be easy to fix this at http://opengrok.libreoffice.org/xref/core/cui/uiconfig/ui/acorreplacepage.ui#68 if we knew that this restriction did not make sense. I'll send a patch to gerrit.
as I said before I don't know if this limitation that is present since "jurassic" early OOo versions has been taken to preserve performance of the autocorrect recognition engine. I would try to double that limit from 30 to 60 to see if it slows down typing or any other routine activity working on Writer. I'd be glad to beta-test such a patched LibO version and "stress" the autocorrect engine.
Andras Timar committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e601660b89768dc01d0ef73ec3e6579d26b30f96 fdo#64652 remove length restriction of Replace edit box The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
just tested on Windows Vista 64bit using LibO 4.1.0.0.alpha1+ Build ID: de00b8bb67b7453b45e081fe602782803eab134 nice!!! well done Andras!!! you are my hero!!! the new autocorrect now handles entries longer than 30 digits (I tried even with a 100 digit entry) without any issue and it has no side effects during typing!!! what you think about backporting this fix to LibO 4.0.4 as well? looking at the committ report I see that it has been a very simple, yet effective, hack.
Andras Timar committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=91820e31aad5e85e5a584c143e60694772f10ac5&h=libreoffice-4-0 fdo#64652 remove length restriction of Replace edit box It will be available in LibreOffice 4.0.4. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
@Andras Timar VERIFIED on LibO 4.0.4 I tried autocorrect entries up to 400 digits and it works with no issue. do you think that this fix could be safely backported to LibO 3.6.7 as well?
Andras Timar committed a patch related to this issue. It has been pushed to "libreoffice-3-6": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c3bd749c3da8e8c20e3acca3b8fed3df5c229abb&h=libreoffice-3-6 fdo#64652 remove length restriction of Replace edit box It will be available in LibreOffice 3.6.7. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
@Andra Timar thank you very much.