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

Kornel Benko kornel at lyx.org
Wed Oct 21 16:22:28 UTC 2020


Am Wed, 21 Oct 2020 18:11:17 +0200
schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:

> Le 20/10/2020 à 19:16, Scott Kostyshak a écrit :
> > Same here. It seems to be only triggered when inserting over the selection.  
> 
> This should be fixed now. Can you check?
> 
> JMarc
> 

Not compilable.

/usr2/src/lyx/lyx-git/src/Cursor.cpp:2402:6: warning: init-statement in selection
statements only available with -std=c++17 or -std=gnu++17 if
(!lyxrc.respect_os_kbd_language ^
/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/1bfa4b3e/attachment.asc>


More information about the lyx-devel mailing list