Solved

Programmatically scrolling a TSynEdit

Posted on 2014-04-27
2
444 Views
Last Modified: 2014-04-28
Hi all.

To scroll a TSynEdit to a specified line, I use TopLine property.  It works fine except when WordWrap is set to True.

How can I solve this?

Thanks in advance.
Marco
0
Comment
Question by:Marco Gasi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 45

Accepted Solution

by:
aikimark earned 500 total points
ID: 40026337
Can you work around this problem by toggling word wrap before and after you scroll the control contents?
0
 
LVL 31

Author Closing Comment

by:Marco Gasi
ID: 40026844
I would like a cleaner solution, but maybe it simply doesn't exist :-)
Your suggestion solved the problem: thank you, aikimark.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question