Re: Inverted colors for cursor

2016-11-06 Thread racoon
On 22.10.2016 14:38, Joel Kulesza wrote: Interesting, yes, the options are different when that checkbox is selected (I would have expected them to remain the same but be overridden by the system colors). Furthermore, unchecking that box (which is checked, by default, I believe), permits me to ch

Re: Inverted colors for cursor

2016-10-25 Thread racoon
On 21.10.2016 21:29, racoon wrote: The cursor is actually hard to see when its color matches the color of its background. Maybe the idea of setting the cursor color fixed should be abandoned and inverted colors should be used instead. All writer apps I know of do so (like Libre and MS). Attached

Re: Inverted colors for cursor

2016-10-23 Thread Joel Kulesza
On Sun, Oct 23, 2016 at 9:01 AM, racoon wrote: > > On 23.10.2016 16:55, Joel Kulesza wrote: > >> >> >> Speaking of highlighting: is there a way to highlight text in LyX (e.g., >> \hl{...} via soul) without ERT? I can change its color, but not its >> background... >> > > The PDF Comments module's

Re: Inverted colors for cursor

2016-10-23 Thread racoon
On 23.10.2016 16:55, Joel Kulesza wrote: On Sun, Oct 23, 2016 at 8:39 AM, racoon mailto:xraco...@gmx.de>> wrote: I guess these are very limited applications as to the changes that occur background color wise during usage. I disagree: one can both select text (highlighting it to oper

Re: Inverted colors for cursor

2016-10-23 Thread Joel Kulesza
On Sun, Oct 23, 2016 at 8:39 AM, racoon wrote: > > > I guess these are very limited applications as to the changes that occur > background color wise during usage. I disagree: one can both select text (highlighting it to operate on it) and highlight the text (e.g., through syntax highlighting).

Re: Inverted colors for cursor

2016-10-23 Thread racoon
On 23.10.2016 16:20, Joel Kulesza wrote: On Sun, Oct 23, 2016 at 1:02 AM, racoon mailto:xraco...@gmx.de>> wrote: However, since there are clear benefits of an inverted cursor (think about the poor person with red cursor who happens to land in an inset that has a red background by def

Re: Inverted colors for cursor

2016-10-23 Thread Joel Kulesza
On Sun, Oct 23, 2016 at 1:02 AM, racoon wrote: > >> However, since there are clear benefits of an inverted cursor (think > about the poor person with red cursor who happens to land in an inset that > has a red background by default, like insets of modules not available on > her system), there sho

Re: Inverted colors for cursor

2016-10-23 Thread racoon
On 23.10.2016 16:11, Joel Kulesza wrote: On Sun, Oct 23, 2016 at 12:41 AM, racoon mailto:xraco...@gmx.de>> wrote: On 22.10.2016 20:35, Enrico Forestieri wrote: On Sat, Oct 22, 2016 at 04:49:35PM +0200, Jean-Marc Lasgouttes wrote: As LyX stands now, it is often

Re: Inverted colors for cursor

2016-10-23 Thread Joel Kulesza
On Sun, Oct 23, 2016 at 12:41 AM, racoon wrote: > On 22.10.2016 20:35, Enrico Forestieri wrote: > >> On Sat, Oct 22, 2016 at 04:49:35PM +0200, Jean-Marc Lasgouttes wrote: >> >>> >>> As LyX stands now, it is often very difficult to put the mouse cursor >>> between two insets, because insets, contr

Re: Inverted colors for cursor

2016-10-23 Thread racoon
On 22.10.2016 16:49, Jean-Marc Lasgouttes wrote: Le 22/10/2016 à 14:53, racoon a écrit : On 22.10.2016 14:38, Joel Kulesza wrote: With the ability to tweak the cursor color, I agree with Daniel's suggestion to implement the inverted color patch. Sorry, I did not make myself clear before. I am

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 20:35, Enrico Forestieri wrote: On Sat, Oct 22, 2016 at 04:49:35PM +0200, Jean-Marc Lasgouttes wrote: As LyX stands now, it is often very difficult to put the mouse cursor between two insets, because insets, contrary to characters, are active beasts. If you click a bit to close to

Re: Inverted colors for cursor

2016-10-22 Thread Enrico Forestieri
On Sat, Oct 22, 2016 at 04:49:35PM +0200, Jean-Marc Lasgouttes wrote: > > As LyX stands now, it is often very difficult to put the mouse cursor > between two insets, because insets, contrary to characters, are active > beasts. If you click a bit to close to them, something happens. This is why > s

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 16:31, Joel Kulesza wrote: On Sat, Oct 22, 2016 at 8:19 AM, racoon mailto:xraco...@gmx.de>> wrote: One question: would it be helpful if one could choose copy, paste, delete, etc. from the inset button's context menu? I don't see how this could hurt. My workflow n

Re: Inverted colors for cursor

2016-10-22 Thread Guillaume Munch
Le 22/10/2016 à 15:20, racoon a écrit : However, I am at the moment considering to change LyX's spacing such that the cursor before an element starts directly at the element. As is the case with normal characters. It is just a thought for now. This would only be sensible when the cursor automatic

Re: Inverted colors for cursor

2016-10-22 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 17:08, racoon a écrit : But I guess one could argue that this is a WYSIWYG thing and the only thing we need in LyX is to clearly see whether a space is a "real" space or not. We can allow for spacing as long as it is smaller enough than interword space. What needs to be done is

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 17:07, racoon wrote: On 22.10.2016 17:02, Jean-Marc Lasgouttes wrote: Le 22/10/2016 à 16:57, racoon a écrit : The cursor policy isn't fancy but just what other writer apps have. That is also where I had the idea about treating insets as characters is from. But as I said, this is j

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 17:02, Jean-Marc Lasgouttes wrote: Le 22/10/2016 à 16:57, racoon a écrit : The cursor policy isn't fancy but just what other writer apps have. That is also where I had the idea about treating insets as characters is from. But as I said, this is just something to consider. You seem

Re: Inverted colors for cursor

2016-10-22 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 16:57, racoon a écrit : The cursor policy isn't fancy but just what other writer apps have. That is also where I had the idea about treating insets as characters is from. But as I said, this is just something to consider. You seem to suggest it's a bad idea. :) Can you point me

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 16:42, Jean-Marc Lasgouttes wrote: Le 22/10/2016 à 15:20, racoon a écrit : However, I am at the moment considering to change LyX's spacing such that the cursor before an element starts directly at the element. As is the case with normal characters. It is just a thought for now. T

Re: Inverted colors for cursor

2016-10-22 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 14:53, racoon a écrit : On 22.10.2016 14:38, Joel Kulesza wrote: With the ability to tweak the cursor color, I agree with Daniel's suggestion to implement the inverted color patch. Sorry, I did not make myself clear before. I am suggesting to not let the user choose the cursor

Re: Inverted colors for cursor

2016-10-22 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 15:20, racoon a écrit : However, I am at the moment considering to change LyX's spacing such that the cursor before an element starts directly at the element. As is the case with normal characters. It is just a thought for now. This would only be sensible when the cursor automatic

Re: Inverted colors for cursor

2016-10-22 Thread Joel Kulesza
On Sat, Oct 22, 2016 at 8:19 AM, racoon wrote: > One question: would it be helpful if one could choose copy, paste, delete, >> etc. from the inset button's context menu? >> > I don't see how this could hurt. My workflow now is usually to position the cursor in front of the element I want, shift,

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 15:59, Joel Kulesza wrote: On Sat, Oct 22, 2016 at 7:55 AM, racoon mailto:xraco...@gmx.de>> wrote: The benefit of removing (or almost removing) space around insets is to make sure it is not mistaken for a "real" space. Since many insets are working just like characte

Re: Inverted colors for cursor

2016-10-22 Thread Joel Kulesza
On Sat, Oct 22, 2016 at 7:55 AM, racoon wrote: > > > The benefit of removing (or almost removing) space around insets is to > make sure it is not mistaken for a "real" space. Since many insets are > working just like characters it seems reasonable to make the spacing around > them similar. > I se

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 15:47, Joel Kulesza wrote: On Sat, Oct 22, 2016 at 7:20 AM, racoon mailto:xraco...@gmx.de>> wrote: However, I am at the moment considering to change LyX's spacing such that the cursor before an element starts directly at the element. As is the case with normal characte

Re: Inverted colors for cursor

2016-10-22 Thread Joel Kulesza
On Sat, Oct 22, 2016 at 7:20 AM, racoon wrote: > > However, I am at the moment considering to change LyX's spacing such that > the cursor before an element starts directly at the element. As is the case > with normal characters. It is just a thought for now. This would only be > sensible when the

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 15:10, Joel Kulesza wrote: Sorry, I did not make myself clear before. I am suggesting to not let the user choose the cursor color but instead enforce inverted color. I think an inverted cursor has the benefit of being visible in any situation while the downsides seem small. I thin

Re: Inverted colors for cursor

2016-10-22 Thread Joel Kulesza
Sorry, I did not make myself clear before. I am suggesting to not let the user choose the cursor color but instead enforce inverted color. I think an inverted cursor has the benefit of being visible in any situation while the downsides seem small. I think most people are either working with a very

Re: Inverted colors for cursor

2016-10-22 Thread Joel Kulesza
Why not let inversion be the default behavior and then let users choose? Perhaps I want my cursor to also stand out from my text... On Sat, Oct 22, 2016 at 6:53 AM, racoon wrote: > On 22.10.2016 14:38, Joel Kulesza wrote: > >> With the ability to tweak the cursor color, I agree with Daniel's >>

Re: Inverted colors for cursor

2016-10-22 Thread racoon
On 22.10.2016 14:38, Joel Kulesza wrote: With the ability to tweak the cursor color, I agree with Daniel's suggestion to implement the inverted color patch. Sorry, I did not make myself clear before. I am suggesting to not let the user choose the cursor color but instead enforce inverted color

Re: Inverted colors for cursor

2016-10-22 Thread Joel Kulesza
Interesting, yes, the options are different when that checkbox is selected (I would have expected them to remain the same but be overridden by the system colors). Furthermore, unchecking that box (which is checked, by default, I believe), permits me to change colors for items like the shaded box (

Re: Inverted colors for cursor

2016-10-22 Thread racoon
I am confused now. Yes, you can change the cursor color in the current version of LyX. And the checked Use System Settings checkbox is visible in Joel's screenshot. If it is unchecked the cursor color can be changed. But I suggest to abandon this option and go for an inverted cursor color. Da

Re: Inverted colors for cursor

2016-10-22 Thread Jean-Marc Lasgouttes
Then it would mean that the change can be done in system prefs. JMarc Le 22 octobre 2016 08:42:18 GMT+02:00, racoon a écrit : >>Wait a sec. Might be that this is because you use system colors? > >Daniel

Re: Inverted colors for cursor

2016-10-21 Thread racoon
On 22.10.2016 04:10, Joel Kulesza wrote: On Fri, Oct 21, 2016 at 3:56 PM, racoon mailto:xraco...@gmx.de>> wrote: On 21.10.2016 21:47, Joel Kulesza wrote: Instead of this, I would rather see a customizable cursor color in the Preferences -> Colors dialog. I would not

Re: Inverted colors for cursor

2016-10-21 Thread racoon
On 22.10.2016 04:10, Joel Kulesza wrote: On Fri, Oct 21, 2016 at 3:56 PM, racoon mailto:xraco...@gmx.de>> wrote: On 21.10.2016 21:47, Joel Kulesza wrote: Instead of this, I would rather see a customizable cursor color in the Preferences -> Colors dialog. I would not

Re: Inverted colors for cursor

2016-10-21 Thread racoon
On 21.10.2016 21:47, Joel Kulesza wrote: Instead of this, I would rather see a customizable cursor color in the Preferences -> Colors dialog. I would not want to have my cursor a different color than my text (black on the default page background, by necessity). This is already implemented in

Re: Inverted colors for cursor

2016-10-21 Thread Kornel Benko
Am Freitag, 21. Oktober 2016 um 13:47:40, schrieb Joel Kulesza > Instead of this, I would rather see a customizable cursor color in the > Preferences -> Colors dialog. I would not want to have my cursor a > different color than my text (black on the default page background, by > necessity). > >

Re: Inverted colors for cursor

2016-10-21 Thread Joel Kulesza
Instead of this, I would rather see a customizable cursor color in the Preferences -> Colors dialog. I would not want to have my cursor a different color than my text (black on the default page background, by necessity). - Joel P.S. It would be excellent if the Preference -> Colors dialog was ma

Inverted colors for cursor

2016-10-21 Thread racoon
The cursor is actually hard to see when its color matches the color of its background. Maybe the idea of setting the cursor color fixed should be abandoned and inverted colors should be used instead. All writer apps I know of do so (like Libre and MS). Attached is a quick patch that seems to ac