Forum > SynEdit

Spaces at end of line

<< < (2/3) > >>

BubikolRamios:
And in case one would want to  not trim trailing spacees in SynEdit ? Can't find prop.

Looks strange, user can see how caret goes to right,
TRegExp match (check on every synedit chage) does not see extra spaces. 

Until some other char is typed, then spaces in match miraculously appears.

HeavyUser:

--- Quote from: BubikolRamios on August 05, 2022, 07:15:18 am ---And in case one would want to  not trim trailing spacees in SynEdit ? Can't find prop.

--- End quote ---
see options->eoTrimTrailingSpaces

BubikolRamios:
Thanks.

Martin_fr:

--- Quote from: BubikolRamios on August 05, 2022, 07:15:18 am ---Looks strange, user can see how caret goes to right,
TRegExp match (check on every synedit chage) does not see extra spaces. 

Until some other char is typed, then spaces in match miraculously appears.

--- End quote ---

Yes, trailing spaces are virtual. They aren't part of TSynEdit.Lines, until something is typed after them.

Thaddy:
#0 vs #32
Nough said.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version