Opened 21 years ago

Closed 10 months ago

#1042 closed enhancement (fixed)

Adding language "none"

Reported by: chr Owned by: nobody@…
Priority: low Milestone: 2.4.0
Component: spell Version: unspecified
Severity: minor Keywords: fileformat
Cc: dov@…

Description (last modified by chr)

I think it would be convenient to have a language "none", that is _not_ spell checked. I.e. adding a "language" to

Layout->Character->Language

so that text marked with that language (i.e. none) is not spell checked.

Attachments (1)

spelling-ignore-char-based-take2.patch (11.6 KB ) - added by Dov Feldstern 17 years ago.
Adds a character attribute that specifies "no spelling"

Download all attachments as: .zip

Change History (22)

comment:1 by levon, 21 years ago

Version: 1.3.1unspecified

comment:2 by levon, 21 years ago

Owner: changed from Lars Gullik Bjønnes to nobody@…

Lars doesn't want any bugs.

comment:3 by Uwe Stöhr, 17 years ago

I don't think its really useful as you have to switch back to a real language
after spell checking to be able to produce proper output.

comment:4 by chr, 17 years ago

Hmm... I wonder if you understand the purpose of this. What I'd like is a way to
prevent certain sections of a document from being spell-checked. Such a section
could be a snippet of code, or hexadecimal data etc.

Anyway, the point is that you don't want the spell checker to parse these
sections. I thought one solution to this problem was to mark a section as having
no language, and that this would then prevent the spell checker from checking
that section. From the users' point of view, he'd select a region and then set
the language for *that* region to 'none'.

comment:5 by Uwe Stöhr, 17 years ago

Resolution: duplicate
Status: newclosed

the point is that you don't want the spell checker to parse these sections.

This is #1509. I think there are some ways to achieve this, not only
introducing a dummy language -> Marked as duplicate.

* This bug has been marked as a duplicate of 1509 *

comment:6 by chr, 17 years ago

I think you were premature in closing this bug as a duplicate (it's not really a
duplicate). We should probably discuss the two bugs on the list. However, to
make things easier I placed some comments in #1509.

comment:7 by Juergen Spitzmueller, 17 years ago

Resolution: duplicate
Status: closedreopened

I agree this is not a duplicate of #1509.

comment:8 by mael.hillereau@…, 17 years ago

The patch proposed for #1509 allows disabling spellchecking for unselected branches. It could provide
a solution for this bug as well: create a branch "IgnoreSpellcheck"; put everything to be ignored into this
branch. When it is unselected, contents of this branch (and also all other unselected branches...) aren't
spellchecked. With this option, you can select/unselect branches to control what should be ignored by the
spellchecker.

by Dov Feldstern, 17 years ago

Adds a character attribute that specifies "no spelling"

comment:9 by Dov Feldstern, 17 years ago

Cc: dfeldstern@… added

comment:10 by Uwe Stöhr, 17 years ago

Keywords: patch added

comment:11 by ps, 15 years ago

Priority: highlow

comment:12 by ps, 15 years ago

Component: generalspell
Description: modified (diff)

comment:13 by chr, 15 years ago

Description: modified (diff)

comment:14 by Uwe Stöhr, 14 years ago

What's the status of this feature? Do we still want to implement this? If yes, can you please send an updated patch top the lyx-devel mailing list?

comment:15 by Van der Gaag, 10 years ago

I'd be very happy if this were implemented (I'm writing a thesis in which a lot of medieval Dutch is used). I did notice the patch added by user dov, but I don't have the skills to tinker with my LyX install unsupervised.

Last edited 10 years ago by Van der Gaag (previous) (diff)

comment:16 by Juergen Spitzmueller, 10 years ago

Milestone: 2.2.0

Letś put this on the radar for 2.2. It should be easy to adapt this patch for the current code.

comment:17 by Juergen Spitzmueller, 9 years ago

Milestone: 2.2.02.3.0

postponing once more.

comment:18 by Scott Kostyshak, 7 years ago

Is anyone planning to work on this for 2.3.0?

comment:19 by Scott Kostyshak, 7 years ago

Milestone: 2.3.02.4.0

comment:20 by Juergen Spitzmueller, 6 years ago

Keywords: fileformat added; patch removed
Status: reopenedfixedinmaster

Fixed in master at [57dc817581faf/lyxgit].

comment:21 by ps, 10 months ago

Resolution: fixed
Status: fixedinmasterclosed

2.4 beta is out.

Note: See TracTickets for help on using tickets.