<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/synedit/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/synedit/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 13 Dec 2016 06:44:55 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/synedit/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Add touch scrolling</title><link>https://sourceforge.net/p/synedit/support-requests/56/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In the scenario when the application runs on a touch screen device, the feature of scrolling the document vertically with the touch drag is what user expects.&lt;/p&gt;
&lt;p&gt;Additionally, when running on a screen with a very high DPI, the size of the scrollbars becomes so tiny, that using touch (fingers) to operate these scroll bars becomes very difficult.&lt;/p&gt;
&lt;p&gt;I faced this scenarios when deploying Lazarus written applications on Meizu MX4 phone running Ubuntu Touch.&lt;/p&gt;
&lt;p&gt;I found out an opportunity in the layout of the TSynEdit, more precisely, took advantage of the Gutter. Currently the Gutter does not make any special use of Mouse Events (OnMouseDown, OnMouseMove, OnMouseUp), and it provides enough surace area for using touch gestures on it conveniently. Especially that in a high dpi scenario I can still programatically increase TSynEdit.Font.Height which will render Gutter big enough for the scenario.&lt;/p&gt;
&lt;p&gt;I implemented a class TTouchSynEdit which allows you to use touch gestures (fragging down/up) on the gutter for scrolling the text vertically. The behavior can be turned on/off with: &lt;br/&gt;
Property TTouchSynEdit.EnableTouchScrollOnGutter: Boolean;&lt;br/&gt;
which is set to True by default.&lt;/p&gt;
&lt;p&gt;Attached is the source code, it is very short, please feel free to use it by either including TTouchSynEdit class in your sources or by transplanting my functionality into the TSynEdit class.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br/&gt;
Kris&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Krzysztof Kamil Jacewicz</dc:creator><pubDate>Tue, 13 Dec 2016 06:44:55 -0000</pubDate><guid>https://sourceforge.net9e482a35a4548803436ae763df7930a915d2c9b1</guid></item><item><title>#55 SynEdit very slow on long lines</title><link>https://sourceforge.net/p/synedit/support-requests/55/?limit=25#b630</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;IMHO there shouldn't be so many different libraries. Now we have one under sf and two under GitHub.&lt;/p&gt;
&lt;p&gt;And no, it is not my own work. I already merged the sf and SynEdit/SynEdit version.&lt;/p&gt;
&lt;p&gt;Any yes, the TurboPack version is the one that ships with XE8 and GetIt.&lt;/p&gt;
&lt;p&gt;But if you want to maintain the other versions, it is your choice.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roman Kassebaum</dc:creator><pubDate>Wed, 29 Apr 2015 13:43:04 -0000</pubDate><guid>https://sourceforge.netf0865992c0f96f84353be094144ad491857d5a83</guid></item><item><title>#55 SynEdit very slow on long lines</title><link>https://sourceforge.net/p/synedit/support-requests/55/?limit=25#2874</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;But XE8 already came out.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roman Kassebaum</dc:creator><pubDate>Wed, 29 Apr 2015 13:18:10 -0000</pubDate><guid>https://sourceforge.netcdf5f639ba8c3acfdf87d353fc4232c26f31492c</guid></item><item><title>#55 SynEdit very slow on long lines</title><link>https://sourceforge.net/p/synedit/support-requests/55/?limit=25#2e2b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;SynEdit/Synedit was updated when XE7 came out ... and uses the original packages setup&lt;br /&gt;
That doesn't mean that the packages setup of TuboPack/SynEdit is not good .. but its a different product. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bas Schouten</dc:creator><pubDate>Wed, 29 Apr 2015 13:12:30 -0000</pubDate><guid>https://sourceforge.net016671022e3f58fdb97e082ae1d1698b4c3906d5</guid></item><item><title>#55 SynEdit very slow on long lines</title><link>https://sourceforge.net/p/synedit/support-requests/55/?limit=25#766c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="https://github.com/SynEdit/SynEdit" rel="nofollow"&gt;https://github.com/SynEdit/SynEdit&lt;/a&gt; doesn't seem to be active any longer.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roman Kassebaum</dc:creator><pubDate>Wed, 29 Apr 2015 13:09:57 -0000</pubDate><guid>https://sourceforge.net012b943fc83f29f6b6028d8abcc99700471da139</guid></item><item><title>#55 SynEdit very slow on long lines</title><link>https://sourceforge.net/p/synedit/support-requests/55/?limit=25#8149</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I thought it had moved to &lt;a href="https://github.com/SynEdit/SynEdit" rel="nofollow"&gt;https://github.com/SynEdit/SynEdit&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bas Schouten</dc:creator><pubDate>Wed, 29 Apr 2015 13:00:58 -0000</pubDate><guid>https://sourceforge.net3e7b82fd3ea354d55099b18245f17b7323d18dbe</guid></item><item><title>#55 SynEdit very slow on long lines</title><link>https://sourceforge.net/p/synedit/support-requests/55/?limit=25#390c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Cyrille,&lt;/p&gt;
&lt;p&gt;the SynEdit project moved to GitHub: &lt;a href="https://github.com/TurboPack/SynEdit" rel="nofollow"&gt;https://github.com/TurboPack/SynEdit&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-- &lt;br /&gt;
Roman&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roman Kassebaum</dc:creator><pubDate>Wed, 29 Apr 2015 08:32:42 -0000</pubDate><guid>https://sourceforge.net6e145c80a753ffb27047ee92c9d75d723a266071</guid></item><item><title>#55 SynEdit very slow on long lines</title><link>https://sourceforge.net/p/synedit/support-requests/55/?limit=25#e0ab</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Again,&lt;/p&gt;
&lt;p&gt;Great when users solve their own problems, isn't it?&lt;/p&gt;
&lt;p&gt;I have 'fixed' the problem, or at least am hiding it by doing the ExpandAtWideGlyphs incrementaly, only when needed in the inner PaintLines loop (well, one level deeper).&lt;br /&gt;
I had to implement a nev version of ExpandAtWideGlyphs that can work incrementally to do that (based on the existing one)..&lt;/p&gt;
&lt;p&gt;It seems to be working for me, but I am not sure how it will work with word wrap.&lt;/p&gt;
&lt;p&gt;Question, who do I contact to submit the change?&lt;/p&gt;
&lt;p&gt;Cyrille&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cyrille de Brébisson</dc:creator><pubDate>Wed, 29 Apr 2015 06:58:04 -0000</pubDate><guid>https://sourceforge.net533b390d665606579c3a8cf266d99fb594f79eed</guid></item><item><title>#55 SynEdit very slow on long lines</title><link>https://sourceforge.net/p/synedit/support-requests/55/?limit=25#52be</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Again,&lt;/p&gt;
&lt;p&gt;I did some debugging and it seems that the issue is in the ExpandAtWideGlyphs function.&lt;/p&gt;
&lt;p&gt;The text that I have, as stated above is, in fact, a png file (12KB) which is encoded in unicode. The encoding use is 15 bits of data per characters using characters from 0x21 to 0x8021 (simple, 15 bits of data per 16 bits on drive, does not go in any 'bad' area of unicode)... This means that the long line is a long set of weired characters :-(&lt;/p&gt;
&lt;p&gt;I am assuming that the slow down comes from the need to calculate the width of each glyph in the string here...&lt;/p&gt;
&lt;p&gt;It should be possible to limit the calculation to the visible size of the string, that should speed up the process significantly, but I am not sure on how to implement that...&lt;/p&gt;
&lt;p&gt;Cyrille&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cyrille de Brébisson</dc:creator><pubDate>Wed, 29 Apr 2015 06:28:59 -0000</pubDate><guid>https://sourceforge.net3c180c500e07181cced212e3523f688bb7360565</guid></item><item><title>SynEdit very slow on long lines</title><link>https://sourceforge.net/p/synedit/support-requests/55/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am editing text files with very long unicode lines (&amp;gt;6KB, I won't go in the details, but I am ending up with UFT16 encoded png files in editable text, test scripts...).&lt;/p&gt;
&lt;p&gt;SynEdit seems very slow handling these lines, even with no highlighter...&lt;/p&gt;
&lt;p&gt;Any clue what could be done to speed that up?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Cyrille&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cyrille de Brébisson</dc:creator><pubDate>Tue, 28 Apr 2015 18:00:16 -0000</pubDate><guid>https://sourceforge.net0e9020f2e6e21c31b8014a6661b67f3791c9861a</guid></item></channel></rss>