stuff
This commit is contained in:
parent
6ae51b1695
commit
de6e217013
|
@ -8626,14 +8626,6 @@
|
|||
opacity: 0;
|
||||
}
|
||||
|
||||
${BDFDB.dotCN.app} {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
${BDFDB.dotCN.loadingiconwrapper} {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@ var SpellCheck = (_ => {
|
|||
return class SpellCheck {
|
||||
getName () {return "SpellCheck";}
|
||||
|
||||
getVersion () {return "1.5.2";}
|
||||
getVersion () {return "1.5.3";}
|
||||
|
||||
getAuthor () {return "DevilBro";}
|
||||
|
||||
|
@ -15,7 +15,7 @@ var SpellCheck = (_ => {
|
|||
|
||||
constructor () {
|
||||
this.changelog = {
|
||||
"fixed":[["Fallback","Fixed primary language falling back to english on each start"]]
|
||||
"improved":[["Special Character / Symbols","If half or more of the characters in a word are symbols, the word will automatically be ignored by the dictionary check to avoid stuff like 'v1.2.3' being marked as incorrect"]]
|
||||
};
|
||||
|
||||
this.patchedModules = {
|
||||
|
@ -385,7 +385,7 @@ var SpellCheck = (_ => {
|
|||
isWordNotInDictionary (unformatedWord) {
|
||||
let wordLow = unformatedWord.toLowerCase();
|
||||
let wordWithoutSymbols = wordLow.replace(/[0-9\µ\@\$\£\€\¥\¢\²\³\>\<\|\,\;\.\:\-\_\#\+\*\~\?\¿\\\´\`\}\=\]\)\[\(\{\/\&\%\§\"\!\¡\^\°\n\t\r]/g, "");
|
||||
if (wordLow.indexOf("http://") != 0 && wordLow.indexOf("https://") != 0 && wordWithoutSymbols) {
|
||||
if (wordLow.indexOf("http://") != 0 && wordLow.indexOf("https://") != 0 && wordWithoutSymbols && wordWithoutSymbols.length > wordLow.length/2) {
|
||||
let wordStartingPos = /^.{1}'/.test(wordWithoutSymbols) ? wordWithoutSymbols.split("'")[1] : "";
|
||||
let wordEndingPos = /'.{1}$/.test(wordWithoutSymbols) ? wordWithoutSymbols.split("'").reverse()[1] : "";
|
||||
for (let key in dictionaries) for (let word of BDFDB.ArrayUtils.removeCopies([wordLow, wordWithoutSymbols, wordStartingPos, wordEndingPos].filter(n => n))) {
|
||||
|
|
|
@ -1379,10 +1379,10 @@
|
|||
|
||||
/* ---- 10.12. CHANGELOGMODAL ---- */
|
||||
|
||||
.improved-1F5LIN { /* modal improved category */
|
||||
.improved-2jOfnH { /* modal improved category */
|
||||
color: rgb(var(--vaccentcolor));
|
||||
}
|
||||
.improved-1F5LIN:after {
|
||||
.improved-2jOfnH:after {
|
||||
background-color: rgb(var(--vaccentcolor));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue