maxim
b8d0d9366b
LCL: fixed typos related to 'occur' word
...
git-svn-id: trunk@65207 -
2021-06-10 22:21:45 +00:00
bart
1cdf85def9
MaskEdit: use escaping with '\' in sets as well. Allows to have ']' in a set, which was impossible before.
...
git-svn-id: trunk@64938 -
2021-04-07 08:08:10 +00:00
bart
1ddd3cc19b
MaskEdit: rename a type and it's associated variable and procedure.
...
git-svn-id: trunk@64932 -
2021-04-06 17:06:08 +00:00
bart
2e2c6107f2
MaskEdit: have Char_Set and Char_SetFixed, analogue to e.g. Char_Letter and Char_LetterFixed
...
git-svn-id: trunk@64927 -
2021-04-05 12:41:13 +00:00
bart
680a74ac4e
MaskEdit: factor out ParseSet.
...
git-svn-id: trunk@64926 -
2021-04-05 12:04:23 +00:00
bart
e95298f4e2
MaskEdit: use a lookup table for "simple cMask tokens" in SetEditMask.
...
git-svn-id: trunk@64925 -
2021-04-05 11:47:17 +00:00
bart
f217ea7fc4
MaskEdit: coding style and indentation. No functional changes.
...
git-svn-id: trunk@64907 -
2021-04-03 10:18:37 +00:00
bart
47a0ef2d84
MaskEdit: simplify ClearChar()
...
git-svn-id: trunk@64906 -
2021-04-03 10:08:54 +00:00
bart
3236750d4e
MaskEdit: refactor SetEditMask.
...
git-svn-id: trunk@64905 -
2021-04-03 10:02:36 +00:00
bart
c3c7456d6f
MaskEdit: if an exception is raised inside SetEditMask, make the control UnMasked (otherwise havoc will occur).
...
git-svn-id: trunk@64904 -
2021-04-02 21:52:01 +00:00
bart
9124789bc5
MaskEdit: new exception type for errors in EditMask.
...
git-svn-id: trunk@64903 -
2021-04-02 21:34:20 +00:00
bart
bf15a643ab
MaskEdit: add some comments about sets in the EditMask.
...
git-svn-id: trunk@64902 -
2021-04-02 21:08:38 +00:00
bart
1402472897
LCL: start implemention sets in TMaskEdit. Experimental and disabled by default. Delphi does not support this.
...
Implementation may change in the future.
git-svn-id: trunk@64901 -
2021-04-02 20:55:07 +00:00
bart
e86f37adb5
MaskEdit: use Default intrinsic instead of FillChar.
...
git-svn-id: trunk@64865 -
2021-03-23 18:24:26 +00:00
bart
5d98b3c2f6
MaskEdit: rename a private methods and it's associated field, since the old names might be confusing after r64863 #2a08f9594b.
...
git-svn-id: trunk@64864 -
2021-03-23 17:40:33 +00:00
bart
2a08f9594b
MaskEdit: Use GetMask() to read FMask[]. Simplifies sanity checks.
...
git-svn-id: trunk@64863 -
2021-03-23 17:34:05 +00:00
bart
f1d1a12c70
MaskEdit: implement (a more flexible) DbgS overload for TMaskedType (for internal use only).
...
git-svn-id: trunk@64860 -
2021-03-22 20:55:53 +00:00
bart
b49b00dbf2
MaskEdit: fix comment about meaning of 'C' in EditMask
...
git-svn-id: trunk@64859 -
2021-03-22 20:39:06 +00:00
bart
37b2ac5c92
MaskEdit: Initialize the internal mask with new TMaskType Char_Invalid and raise an exception whenever upon read access FMask contains Char_Invalid.
...
git-svn-id: trunk@64858 -
2021-03-22 20:35:41 +00:00
bart
42133a87e9
MaskEdit: enforce upper/lowercase for Char_All*Up/DownCase
...
git-svn-id: trunk@64853 -
2021-03-21 21:18:41 +00:00
bart
66c44791cd
MaskEdit:
...
- 'C' in an EditMask means that any char is OK, except FSpaceChar (Delphi compatibility)
- fix some more range errors
git-svn-id: trunk@64850 -
2021-03-21 16:17:33 +00:00
bart
e224bb5467
MaskEdit: fix range error in SelectNextChar.
...
git-svn-id: trunk@64849 -
2021-03-21 15:38:49 +00:00
bart
d87e10f082
TMaskEdit: implement rangechecking when accessing FMask.
...
git-svn-id: trunk@64792 -
2021-03-12 17:59:02 +00:00
bart
427fdc1588
TMaskEdit: rename FCursorPos to FCharPos and make it 1-based instead of 0-based. No functional changes.
...
git-svn-id: trunk@64791 -
2021-03-12 17:36:13 +00:00
bart
7c5af88d6b
TMaskEdit: properly initialize ValidationErrorMode.
...
git-svn-id: trunk@64774 -
2021-03-09 18:13:20 +00:00
bart
92ed0fa61f
TMaskEdit: implement an experimental (and Delphi incompatible) way of handling validation errors using an event instead of an exception.
...
git-svn-id: trunk@64773 -
2021-03-09 18:08:48 +00:00
bart
d9085591b7
TMaskEdit: fix setting text when mask contains Date- or HourSeparator. Issue #0038606 .
...
git-svn-id: trunk@64772 -
2021-03-09 17:08:30 +00:00
bart
e28c9c1e26
TMaskEdit: fix off by 1 error in DeleteChars.
...
git-svn-id: trunk@64767 -
2021-03-07 21:17:13 +00:00
bart
07895b46b1
TMaskEdit: change internal datstructure, remove no longer needed functions.
...
- better code readability (IMHO).
- lifts the current restriction on the number of tMaskedTye enums we can have.
git-svn-id: trunk@64757 -
2021-03-06 18:49:05 +00:00
bart
86d7ce6416
TMaskEdit: some comment regarding FFirstFreePos and FCursorPos. No functional changes.
...
git-svn-id: trunk@64756 -
2021-03-06 10:48:27 +00:00
bart
3f1bd7f441
TMaskEdit: select first editable character after Reset.
...
git-svn-id: trunk@64755 -
2021-03-06 10:43:26 +00:00
bart
294a0a98c4
TMaskEdit: after deleting an extended selection, don't select a maskliteral. Reported in https://forum.lazarus.freepascal.org/index.php/topic,53557.0.html
...
git-svn-id: trunk@64744 -
2021-03-04 19:51:10 +00:00
bart
20bd46fcf7
TMaskEdit: override SelectAll. Reported on forum: https://forum.lazarus.freepascal.org/index.php/topic,53557.0.html
...
git-svn-id: trunk@64741 -
2021-03-03 17:51:57 +00:00
bart
b82ead0cfa
MaskEdit: only use the workaround for issue #0038505 (r64617) if compiler version < 3.2.2.
...
git-svn-id: trunk@64625 -
2021-02-20 08:34:06 +00:00
bart
5aa0aac42e
TMaskEdit: workaround for infinite loop in SetEditText (issue cause by compiler bug). Issue #0038505 .
...
git-svn-id: trunk@64617 -
2021-02-18 18:45:48 +00:00
bart
2dd7c76531
MaskEdit: simplify handling CharCase.
...
git-svn-id: trunk@63555 -
2020-07-14 09:34:26 +00:00
dmitry
8bcb4c3d6f
lcl: moving RegisterPropertyToSkip from unit initialization to WSRegisterClass methods
...
git-svn-id: trunk@62581 -
2020-01-23 15:28:39 +00:00
bart
8b61ae8f98
MaskEdit: remove all commented code regarding constant cMask_SpaceOnly (which itself was already commented out).
...
git-svn-id: trunk@59660 -
2018-11-25 21:15:49 +00:00
bart
425ac5d754
MaskEdit: simplify code. No functional changes.
...
git-svn-id: trunk@59659 -
2018-11-25 21:12:48 +00:00
bart
4cd127ce25
MaskEdit: don't allow spaces to be type for hexadecimal or binary mask (te be consistent with the other masks).
...
git-svn-id: trunk@59658 -
2018-11-25 21:05:49 +00:00
bart
7de0bcc720
MaskEdit:
...
- add mask support for hexadecimal and binary characters. (Delphi does not support this.)
- remove some obsolete comments and fix a spelling error in a comment
git-svn-id: trunk@59649 -
2018-11-24 16:29:47 +00:00
juha
6810c626df
LazUtils: Change "Character" to "Codepoint" in LazUTF8 function names to be more accurate and to avoid confusion.
...
git-svn-id: trunk@56692 -
2017-12-11 19:44:22 +00:00
ondrej
7ad916287c
LCL: customedit: rewrite TextHint emulation, use WinAPI if available.
...
git-svn-id: trunk@53365 -
2016-11-14 14:19:14 +00:00
bart
7d3b4320c2
Deprecate TCustomEdit's TextHintFontColor and TextHintFontStyle properties and reduce their visibility to Public.
...
git-svn-id: trunk@53304 -
2016-11-07 11:25:30 +00:00
bart
298e1155ad
MaskEdit: fix pasting text with spaces when maskchar is cMask_AlphaNum, cMask_Letter and cMask_Number or cMask_NumberPlusMin. Issue #0030481 .
...
git-svn-id: trunk@52839 -
2016-08-19 21:07:42 +00:00
bart
5bf9ffa801
MaskEdit: check if control can be focussed before focussing when validation fails in DoExit. Issue #0030482 . Patch by Lutz Mändle.
...
git-svn-id: trunk@52837 -
2016-08-19 20:20:43 +00:00
bart
16b35167c9
MaskEdit: do replace SpaceChar with #32 in FormatMaskText.
...
git-svn-id: trunk@52206 -
2016-04-17 12:28:03 +00:00
bart
9a6c33c697
MaskEdit: don't remove the mask in FormatMaskText regardless of the "MaskSave" value in the specified EditMask.
...
git-svn-id: trunk@52204 -
2016-04-16 11:48:49 +00:00
bart
55e1744d9c
LCL: in TMaskEdit.RestoreMask only clear the control if it is actually masked. Issue #0028477 .
...
git-svn-id: trunk@49595 -
2015-08-05 11:22:25 +00:00
zeljko
3768a9fd84
LCL: fixed TMaskEdit left arrow does not move cursor. issue #28385
...
git-svn-id: trunk@49512 -
2015-07-09 08:25:11 +00:00