UDL: Suffix Mode
-
regarding the italic issue, what about using a delimiter with
openint(
and closing)
and setting it color to the default color? -
@Ekopalypse said in UDL: Suffix Mode:
If
I just used this line now:
if pos >= 0 and (editor.getStyleAt(pos) not in [1, 2]):and nice tip for the italics! That worked perfectly. I first tried to just make a keyword int(, but that didn’t work.
-
or like this yes :-) Many roads to Rome I guess :-D
-
self.regexes[(0, self.rgb(79, 175, 239) | SC_INDICVALUEBIT)] = (r’fn[A-Za-z0-9_]+?$|([A-Za-z0-9_]+?$)', 1)
Will adding ^\w+.(gif|png|jpg|jpeg)$ instead of r’fn[A-Za-z0-9_]+?$|([A-Za-z0-9_]+?$)’ make it work on .gif .png .jpg and .jpeg suffixes?
-
-
@Ekopalypse Yeah highlighting the entire word thst contains .gif or the others
-
This post is deleted! -
This post is deleted! -
@Ekopalypse Nvm yet again i just added everything ie [0-9a-zA-Z_/\-.|+-#$!"%&()=?*@'~\ˇ^\˘\°;:,{}\˛`\˙\´\¨\¸\ß\Ł\ł\¤\×\÷\č\ć\ž\đ\p\š\€\§] and it works xD sry for the spam
-