caret Questions

7

I pressed something in Intellij and my caret shape changed to this. How to revert to the normal thickness? Using Intellij 2016.1. Compare to this, normal thickness should be that of a bold verti...
Mercurate asked 19/4, 2016 at 2:45

5

Solved

I'm developing a custom HyperTerminal like application in a WinForms .Net 2.0 application. I have a multiline TextBox in a Panel in which you can interact with a hardware device. My customer want...
Chest asked 4/3, 2009 at 9:59

2

When typing text into a contenteditable span in Safari or Firefox the caret moves to the start on each keypress. This only seems to happen when React re/renders the component. Chrome works just fi...
Depute asked 10/11, 2016 at 22:0

22

Solved

After I upgraded to the latest stable node and npm, I tried npm install moment --save. It saves the entry in the package.json with the caret ^ prefix. Previously, it was a tilde ~ prefix. Why are ...
Joppa asked 12/3, 2014 at 6:2

2

Solved

If you hit the End key on your keyboard in PyCharm, the caret moves to the end of the line. Is there any key for going to the start or middle of a line in PyCharm? If you press Ctrl+G, it asks you ...
Cervine asked 19/2, 2016 at 4:13

11

Solved

I am try to set the caret/cursor position to the end of the string value in my WPF textbox when I open my window for the first time. I use the FocusManager to set the focus on my textbox when my wi...
Foreplay asked 22/5, 2010 at 16:49

4

Solved

Currently the cursor/caret for my SwiftUI TextField is blue. Is there an API for cursor colour or a workaround?
Estrous asked 20/10, 2019 at 0:27

9

Solved

I want to style the caret of a focused <input type='text'/>. Specifically, the color and thickness.
Hunley asked 7/9, 2011 at 19:14

4

Solved

After setting my RichTextBox's text to the string T, the Caret Position in the RichTextBox is "lost" (it goes to the start of it). Here's what I'm doing to try to "restore" it after it is "lost": ...
Monoicous asked 28/5, 2017 at 21:8

18

Solved

I'm finding tons of good, cross-browser answers on how to set the caret position in a contentEditable element, but none on how to get the caret position in the first place. What I want to do is kno...
Mozambique asked 19/10, 2010 at 19:35

2

I am working with a contenteditable div that will have the option to have inline html elements such as tags in the text flow. At certain points I need to grab the caret position but have found that...
Jena asked 10/5, 2011 at 14:45

6

Solved

The old version of the question is below, after researching more, I decided to rephrase the question. The problem as before is, I need to focus a contenteditable div without highlighting the text, ...
Concave asked 20/5, 2010 at 4:51

2

Solved

I am working on a website in which I want to remove the blinking caret when a textbox gains focus. The snippets of HTML codes which I have used in order to make the input search form are: HT...
Admissible asked 24/7, 2018 at 17:14

3

I need to update the innerHTML of a contenteditable P element after each keystroke, in JavaScript (no jQuery) I can't use an input or textarea instead of the P element. It works fine, but the c...
Examinant asked 20/1, 2014 at 12:55

2

For reference I'm using Vue 2.0, Vuex, and Firebase. I am building a contenteditable component using the v-html binding to render the innerHTML. The data is updated onKeyUp. Whenever the data is up...
Something asked 17/11, 2016 at 23:16

2

Solved

I have textarea and I want to change text that says what character is after the caret (cursor). <textarea id="text"></textarea> <br/> Character after the caret: <span id="char...
Wendling asked 1/1, 2019 at 22:19

6

Solved

How do I get the index of the text caret in an input?
Wainscoting asked 8/2, 2011 at 1:6

13

Solved

I have this simple HTML as an example: <div id="editable" contenteditable="true"> text text text<br> text text text<br> text text text<br> </div&gt...

3

Solved

I have a contenteditable element, I want elements inside to apply a style when the caret is inside them. In this example the style changes on :hover: div{ caret-color: red; } span:hover { fon...
Intermezzo asked 19/4, 2018 at 14:7

6

Solved

I am working on QT v5.2 I need to hide the blinking cursor (caret) of QLineEdit permanently. But at the same time, I want the QLineEdit to be editable (so readOnly and/or setting editable false is...
Natatory asked 7/8, 2014 at 10:52

2

Solved

I'm trying to set up a controlled contentEditable in React. Every time i write something in the div the component re-renders, and the cursor/caret jumps back to the beginning. I'm trying to deal wi...
Hypercriticism asked 19/9, 2021 at 12:59

2

I have been trying to remove the caret from the NavDropdown component with bootstrap 4 and react, however I have had no luck. This is my react and css, not sure what's going wrong. Thanks. <Nav...
Maebashi asked 14/4, 2020 at 20:35

4

Solved

I am utilizing a few JFormattedTextFields in my program. For some reason when the text field gains focus after a click on the text field, the caret position always jumps to the left (position 0). I...
Maltz asked 4/2, 2010 at 17:44

3

Solved

Following this SO post, I am able to place the caret inside a span element, which is inside a div contenteditable="true". I am able to target whichever span I desire, via its id, while al...
Schelling asked 15/10, 2020 at 10:58

2

Solved

I am trying to make the text cursor on a QTextEdit red (rgb(255,0,0)). Despite my best efforts, it continues to blink white. From what I've found, the Style Sheet "color" property is supposed to ...
Saad asked 27/4, 2019 at 6:6

© 2022 - 2024 — McMap. All rights reserved.