[LyX/master] Reset caret size when inserting text over a selection

Kornel Benko kornel at lyx.org
Wed Oct 21 16:32:19 UTC 2020


Am Wed, 21 Oct 2020 18:22:28 +0200
schrieb Kornel Benko <kornel at lyx.org>:

> > This should be fixed now. Can you check?
> > 
> > JMarc
> >   
> 
> Not compilable.

Even with --std=c++17 there are errors

/usr2/src/lyx/lyx-git/src/Cursor.cpp:2403:10: error: ‘inTextEd’ was not declared in this
scope || (inTextEd() && paragraph().isPassthru())
          ^~~~~~~~
/usr2/src/lyx/lyx-git/src/Cursor.cpp:2403:10: note: suggested alternative: ‘inTexted’
      || (inTextEd() && paragraph().isPassthru())
          ^~~~~~~~
          inTexted
/usr2/src/lyx/lyx-git/src/Cursor.cpp:2403:36: error: ‘class lyx::Paragraph’ has no member
named ‘isPassthru’; did you mean ‘isPassThru’? || (inTextEd() && paragraph().isPassthru())
                                    ^~~~~~~~~~
                                    isPassThru
/usr2/src/lyx/lyx-git/src/Cursor.cpp:2405:53: error: expected ‘)’ before ‘;’ token
  string const & code = theApp()->inputLanguageCode();
                                                     ^
                                                     )
/usr2/src/lyx/lyx-git/src/Cursor.cpp:2402:5: note: to match this ‘(’
  if (!lyxrc.respect_os_kbd_language
     ^
/usr2/src/lyx/lyx-git/src/Cursor.cpp:2405:53: error: could not convert ‘code’ from ‘const
string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘bool’ string const & code =
theApp()->inputLanguageCode(); ^
/usr2/src/lyx/lyx-git/src/Cursor.cpp:2406:48: error: ‘code’ was not declared in this scope
  Language const * lang = languages.getFromCode(code, buffer()->getLanguages());
                                                ^~~~
/usr2/src/lyx/lyx-git/src/Cursor.cpp:2406:48: note: suggested alternative: ‘clone’
  Language const * lang = languages.getFromCode(code, buffer()->getLanguages());
                                                ^~~~
                                                clone


	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201021/9e2569c4/attachment.asc>


More information about the lyx-devel mailing list