| View previous topic :: View next topic |
| Author |
Message |
startling General User

Joined: 02 Oct 2003 Posts: 12
|
Posted: Wed Apr 28, 2010 12:51 am Post subject: Stop automatic spellchecking of domain names? |
|
|
I have lists of domain names that are made almost illegible by the spellcheck red squiggly underline. I want to keep automatic spellchecking but not if it means I cannot read my domain name lists.
In Microsoft Word's spellcheck options you can choose "Ignore Internet and File addresses" which is very useful. I could not find anything similar in OpenOffice.
Is there a way to stop automatic spellchecking of domain names? |
|
| Back to top |
|
 |
floris_v Moderator


Joined: 12 Jul 2007 Posts: 4601 Location: Netherlands
|
Posted: Wed Apr 28, 2010 5:51 am Post subject: |
|
|
You can assign a character style to domain names, like "domain name", and set the language for that style to "none". Interestingly, if I allow OOo to auto-convert typed urls into hyperlinks, it will not spell check it any more. _________________ LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum |
|
| Back to top |
|
 |
startling General User

Joined: 02 Oct 2003 Posts: 12
|
Posted: Thu Apr 29, 2010 5:09 am Post subject: |
|
|
Thanks for your reply, floris_v.
Do you mean I'd have to manually apply a style to each of the domain names? That would be too time consuming, I think.
Is it possible to use wildcards in the dictionaries? For example, could you add *.co.uk to the dictionary?
I cannot stand having domain names converted to links in any software - it's just too annoying when you try to select text but sometimes the software loads your browser and the url. |
|
| Back to top |
|
 |
floris_v Moderator


Joined: 12 Jul 2007 Posts: 4601 Location: Netherlands
|
Posted: Thu Apr 29, 2010 5:24 am Post subject: |
|
|
| Quote: | | Do you mean I'd have to manually apply a style to each of the domain names? |
I'm afraid so. I'm disappointed that it either isn't possible to let OOo ignore hyperlinks, or that it is possible, but that the developers managed to hide that rather well.
| Quote: | | For example, could you add *.co.uk to the dictionary? |
It would only find the literal *.co in that case, so it wouldn't be much help.
| Quote: | | I cannot stand having domain names converted to links in any software - it's just too annoying when you try to select text but sometimes the software loads your browser and the url. |
Agreed; fortunately, you have to press the Ctrl button now as well to activate the link. _________________ LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum |
|
| Back to top |
|
 |
startling General User

Joined: 02 Oct 2003 Posts: 12
|
Posted: Thu Apr 29, 2010 8:29 am Post subject: |
|
|
Thanks for your help floris_v, that's useful information.
I suppose I'll have to turn off spell checking completely, then (or use MS Word - something I do not want to do!). |
|
| Back to top |
|
 |
floris_v Moderator


Joined: 12 Jul 2007 Posts: 4601 Location: Netherlands
|
Posted: Thu Apr 29, 2010 8:46 am Post subject: |
|
|
There is a way to select all text that can be recognized as hyperlinks, using regular expressions.
Search for: (((news|http|ftp|https|file):\/\/|www\.)[a-zA-Z0-9_]+((\.[a-zA-Z0-9_]+)+)(([a-zA-Z0-9_\-\.,@?^=%&:/~\+#]*[a-zA-Z0-9_\-\@?^=%&/~\+#])?))
EDIT: Then click Find all; close the Find dialog box, apply the character style for the selected text. _________________ LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum |
|
| Back to top |
|
 |
startling General User

Joined: 02 Oct 2003 Posts: 12
|
Posted: Fri Apr 30, 2010 2:04 am Post subject: |
|
|
| Thanks! I'll try that |
|
| Back to top |
|
 |
floris_v Moderator


Joined: 12 Jul 2007 Posts: 4601 Location: Netherlands
|
Posted: Fri Apr 30, 2010 5:09 am Post subject: |
|
|
Filed an issue about it.
Recognized as a bug. Please vote. _________________ LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum |
|
| Back to top |
|
 |
|