Search found 6 matches

by Kliemann
30 Jan 2017, 13:56
Forum: Ask for Help (v1)
Topic: RichEdit.ahk (caret position, readonly, SetBgColor) Topic is solved
Replies: 4
Views: 1453

Re: RichEdit.ahk (caret position, readonly, SetBgColor) Topic is solved

Is there a way I can scroll the view so that the line with the caret appears in the top of the richedit window?
by Kliemann
28 Jan 2016, 07:19
Forum: Scripts and Functions (v1)
Topic: Class RichEdit - update on 2015-04-14 (v0.1.05.00)
Replies: 204
Views: 80807

Re: Class RichEdit - update on 2015-04-14 (v0.1.05.00)

The wordwrap switching approach has some drawbacks, but after a while I came up with an 'acceptable' solution thanks to the possibility of obtaining the absolute caret position and to a particularity of the stringreplace function, which I could then use to quickly count the occurrences of carriage-r...
by Kliemann
27 Jan 2016, 08:00
Forum: Scripts and Functions (v1)
Topic: Class RichEdit - update on 2015-04-14 (v0.1.05.00)
Replies: 204
Views: 80807

Re: Class RichEdit - update on 2015-04-14 (v0.1.05.00)

Well, up to now I couldn't figure out how to disable redrawing. Any clue???
by Kliemann
21 Jan 2016, 11:24
Forum: Scripts and Functions (v1)
Topic: Class RichEdit - update on 2015-04-14 (v0.1.05.00)
Replies: 204
Views: 80807

Re: Class RichEdit - update on 2015-04-14 (v0.1.05.00)

Hummm... interesting option. That's far better.
Thanks.

BTW, how do I enable/disable auto redrawing of this object?
by Kliemann
21 Jan 2016, 10:20
Forum: Scripts and Functions (v1)
Topic: Class RichEdit - update on 2015-04-14 (v0.1.05.00)
Replies: 204
Views: 80807

Re: Class RichEdit - update on 2015-04-14 (v0.1.05.00)

I took a (fast) look at the Win API reference for the rich edit controls and also found nothing suggestive. GeekDude, yes, that would be the 'complicated' way I was trying to avoid. The main issue in this case is that the RTF text is plenty of control tags that AFAIK must be manually cleaned up. Als...
by Kliemann
20 Jan 2016, 09:24
Forum: Scripts and Functions (v1)
Topic: Class RichEdit - update on 2015-04-14 (v0.1.05.00)
Replies: 204
Views: 80807

Re: Class RichEdit - update on 2015-04-14 (v0.1.05.00)

Hi,
I want to use this class in a custom paragraph-oriented text control.
So, my question is: is there a simple way to get the paragraph number where the caret is at (i.e. the current paragraph), considering that one paragraph may use more than one line (word-wrap is set)?

Go to advanced search