octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI won't build with older QScintilla


From: Catalin Codreanu
Subject: Re: GUI won't build with older QScintilla
Date: Sun, 28 Apr 2013 16:32:08 +0200


2013/4/27 Torsten <address@hidden>
On 26.04.2013 23:46, Jordi Gutiérrez Hermoso wrote:
> On 12 April 2013 14:41, Torsten <address@hidden> wrote:
>
>> For the problem with setFirstVisibleLine () I attached a simple patch
>> where the function setFirstVisibleLine () is replaced by the function
>> sendScintilla () with the message SCI_SETFIRSTVISIBLELINE as parameter.
>> Since this message is not defined in older versions I have replaced it
>> by its numeric value 2613.
>
> Hey, sorry this took a while. My development machine had been out of commission.
>
> With this change, I can build again. I don't know if this change is
> desirable, but at least the GUI runs too.

In an earlier post, Mike also have asked if another test in configure.ac
wouldn't be better than this patch.
So I guess it would be better?

Torsten

Hello,

Why wouldn't a simple :

#ifndef SCI_SETFIRSTVISIBLELINE
    #define SCI_SETFIRSTVISIBLELINE (2613)
#endif // SCI_SETFIRSTVISIBLELINE

be enough to fix this problem ?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]