使插入鼠标光标在黑暗的Visual Studio编辑器中可见 [英] Make insertion mouse cursor visible in dark Visual Studio editor

查看:271
本文介绍了使插入鼠标光标在黑暗的Visual Studio编辑器中可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用背景非常暗的颜色主题,除了在鼠标悬停在编辑器窗格上方时VS2010使用默认的插入点鼠标光标以及该光标为黑色的情况下,该主题非常有用.几乎看不到(如果背景实际上是黑色而不是非常暗,则几乎是不可能的).

I use a color theme with a very dark background, which works great except that VS2010 uses the default insertion point mouse cursor when the mouse is over the editor pane, and that cursor is black — making it nearly impossible to see (literally impossible if the background is actually black as opposed to just very dark).

是否有一种简单的方法告诉VS2010使用插入点鼠标光标的浅色版本?

Is there a straightforward way to tell VS2010 to use a light version of the insertion point mouse cursor instead?

到目前为止我已经尝试过的事情:

Things I've tried so far:

  1. 我安装了 Visual Studio颜色主题编辑器(可启用UI其余部分(而不是编辑器)的主题化),希望如果我使用其中一个黑暗主题但没有运气的话,它将自动执行此操作.

  1. I installed the Visual Studio Color Theme Editor (which enables theming of the rest of the UI, as opposed to just the editor) in hopes that it would do this automatically if I used one of its dark themes, but no such luck.

我尝试在控制面板"中使用不同的鼠标指针,但是即使在某些情况下光标发生了变化(例如,如果我选择了非常大"的方案之一),它仍然是黑色的,因此几乎看不见.

I tried using different mouse pointers in Control Panel, but even though the cursor changed in some cases (for instance, if I picked one of the "very large" schemes), it was still black and so nearly invisible.

推荐答案

我的临时解决方案是,我在整个系统上使用了一个自定义的文本选择"游标,这是通过找到一个不是太离谱了,然后:

My temporary solution is that I'm using a custom "text select" cursor on the system as a whole, which I did by finding one that wasn't too outrageous, and then:

Windows 7和更低版本:

Windows 7 and earlier:

  1. 打开控制面板

  1. Open Control Panel

打开鼠标小程序

选择指针"标签

在列表中选择文本选择"

Select "Text Select" in the list

单击浏览"按钮,然后选择光标文件

Click the Browse button and choose the cursor file

Windows 8:

Windows 8:

  1. 单击开始"按钮

  1. Click the Start button

键入鼠标单击",然后等待

Type "mouse click" and wait

选择更改鼠标单击设置"-这将使您获得旧的鼠标属性"对话框

Choose "Change mouse click settings" -- this gets you the old Mouse Properties dialog box

选择指针"标签

在列表中选择文本选择"

Select "Text Select" in the list

单击浏览"按钮,然后选择光标文件

Click the Browse button and choose the cursor file

当然,这会全局更改光标,而不仅仅是在VS2010中,因此我必须使用一个既可用于亮色背景又可用于深色背景的光标(就我而言,现在是

Of course, this changes the cursor globally, not just in VS2010, and so I have to use one that works against both light and dark backgrounds (in my case, for now, the one from the DeepSky set on deviantart — only the text select one, not the full set).

这篇关于使插入鼠标光标在黑暗的Visual Studio编辑器中可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆