Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [text-editor]

Design and use of text editors, and the experience of text editing in general.

0
votes
1answer
30 views

Validation of a text file: how to best show the inline editor?

I'm making an app that validates a text file and then shows the errors associated with it. Currently all errors are listed as rows. I'd like to make it easy to correct the errors in the text file so ...
0
votes
2answers
43 views

Highlighting text replacements

I am making an application where the user can perform multiple replacements after one another (eg. replace all "is" with "was", all "will" to "would have"). The problem I am facing UX-wise is how to ...
4
votes
1answer
98 views

Should “Enter” create a large or small line spacing on text editors?

On some popular rich text editors like CKEditor, the default behaviour for pressing "Enter" is to create a new paragraph (a <p> tag), while on the others, like the textarea here on Stackexchange,...
0
votes
2answers
101 views

How to open inline text editor not selecting a text?

There is inline text editor which opens when you select some text. You can also insert images using the editor, but first you have to select text. This approach looks a bit silly to me, so I'm ...
1
vote
1answer
50 views

Having a preview next to text editor, should it be on the left or right side?

I'm trying to design an email text editor that has a preview window next to it. Should the preview be on the right or left side of the editor? My reasoning is that the preview should be on the left ...
0
votes
2answers
425 views

When to sanitize (remove <script> tags) text entered by a user? [closed]

I give user a CKEditor to enter some formatted text. Next (to overcome hackers) I am going to sanitize HTML (remove scripts and like). Is it OK to store in my DB the text sanitized? (Alternatively I ...
6
votes
1answer
146 views

How long should I wait before creating an undo command when I'm typing text?

I'm working on an undo chain in my project. I want to avoid undoing individual letters, but instead undo chunks of text. Therefore, I'm working with a debounce. Is there a standard waiting time or a ...
2
votes
1answer
220 views

Why draw a grid behind text/code in the editor?

Two GNOME applications (Builder and Text Editor) have an option to draw a faint grid in the background of the text editing window. The grid does not map neatly onto the fixed-width font. Does this ...
1
vote
1answer
99 views

A text editor with undo functionality inside an visual editor with undo functionality

So i am working on an editor where you can create text items. When i create a text item it is accompanied by a text editor. At the moment they both have their own undo chains. This is because the text ...
0
votes
2answers
363 views

Why is the command prompt text selection rectangular by default?

As a programmer who often finds himself in a command window, I've always wondered why many times the default text selection functionality is rectangular, and not line-by-line. Rectangular selection ...
0
votes
1answer
33 views

How to sort the ANSI encodings in conversion tool

I am making a programming text editor (IDE) that will support only UTF-8 files. But want to provide some way to convert the old ANSI encoded files. So, I have conversion tool that gives the user a ...
1
vote
3answers
808 views

Why does the cursor stop blinking after 10 seconds in some programs?

In several programs I've used, the cursor stops blinking after the user has not interacted with the program for several seconds. gnome-terminal and gedit both do this, and I can't find any reasoning ...
5
votes
5answers
348 views

How to convince a client to use responsive typography

I am having trouble trying to explain to my client in a non techie language, on why he should follow responsive typography. Let me give a little bit of context: The project in question is for ...
3
votes
3answers
312 views

Is there an agreed best practice to represent tables in textual format?

Question: In the UX community, is there an agreed best practice to represent table data in textual format? Desired outcome: If the answer is yes, then I would propose pushing for support in ...
0
votes
1answer
38 views

Scaling relative size of nested parentheses in code editors

I was coding today and the thought occurred to me: why is dynamic scaling of the relative sizes of nested parentheses/brackets/curly braces not already a common feature of code editors? One often has ...
2
votes
2answers
90 views

Editing multiple text sections

I have three text sections where the first is available to all, the second is available to a group, and the third is available to a subgroup. The back-end user needs to be able to edit each, and ...
2
votes
1answer
75 views

Optimizing website text input for tablet device by pre-selecting text on edit

Say I have a search form and a booking form: is it good usability to automatically select all text in the input if the user taps them (to edit)?
1
vote
1answer
325 views

How to write text with only 5 buttons?

I have a text field in which I can write lower case and upper case letters, numbers and some special characters (' ', '-', '_', '/', '.'). I have only 1 button that can be pressed right, left, up, ...
2
votes
1answer
257 views

How to make a switch between a form and a text editor?

I'm making a platform where users can upload research results. They can upload these results in two different ways: with a form with multiple input fields and with a normal text editor. The mode with ...
0
votes
1answer
51 views

When an editor field overflows, should there be a bottom margin?

When a text editor overflows, should there be a bottom margin? With bottom margin: download bmml source – Wireframes created with Balsamiq Mockups Without bottom margin: download bmml source
1
vote
2answers
128 views

Which “alphabetic” keys are commonly used on Qwerty for cursor movements?

Which are the "layouts" that have been successfully used when making "alphabetic" keys on Qwerty used as cursor movement keys or as arrow keys? Here are the two i know of: <h>: <Left>, &...
0
votes
2answers
116 views

How to handle number text field change with symbol?

I have a text field that allows to edit. The textfield display number along with symbol. For example $ 45, 21 lbs There are 2 solutions that come into mind When user starts editing, we remove the ...
3
votes
2answers
443 views

How to design translation UI

I'm designing a translation app which will be used to translate other apps. The app will be initially desktop based, but later on I want to make a mobile version as well. The difficulty that I'm ...
11
votes
2answers
6k views

Why the textfield in Google Material Design without box

Why the text fields (as below) in Google Material Design are without boxes? Here is a live demo of Material Design text fields. Polymer paper elements - paper-input What are the benefits of this ...
2
votes
1answer
359 views

What's the use of allowing to copy empty string to clipboard? [duplicate]

Typical applications that allow copying text to clipboard only enable "Copy" action when there's some nonempty chunk of text selected, otherwise Ctrl-C has no effect. Not so with MS Visual Studio ...
0
votes
1answer
52 views

How should adding a title be presented in a blog post editor?

I'm currently making a blog, and the blog will use markdown for posts. Adding a title with markdown could be confusing for some, so I'd like to have a button that says, for instance, Add Title, but I'...
0
votes
3answers
55 views

Open vs delimited writing areas

What's more comfortable to the user? Open, unobstructive writing areas: Or enclosed ones: Also, I wonder if the absence of delimiting borders makes users feel 'overwhelmed' (because there's too much ...
0
votes
2answers
197 views

What is the best way of displaying a long title in a text editor?

I was wondering what is the alternative way to show a big title without it having show it into a next line. For example please see the attached picture.
2
votes
1answer
97 views

How to allow an end user access to variables?

I'm designing a form that allows an administrator to set the content of an email that will get sent out upon registration to a website. I'm assuming that the administrator will not necessarily be ...
0
votes
1answer
161 views

How to handle user removing editable text from image?

I am working on in–browser editor for print products. The (relevant part of) workflow goes as following: User sees image (technically SVG file, loaded into page DOM). User can select certain ...
6
votes
2answers
2k views

What's the best way to present variables in a WYSIWYG editor?

I'm working on a WYSIWYG editor, similar to medium.com. We need to support variables inside the editor. For example, you might want to add text: Hi, *|FNAME|* which would be replaced with Hi, Gustavs ...
0
votes
1answer
142 views

Standard margins for full-screen text editor

I would like to present a full-screen text editor. Are there any standard rules for calculating the side and top and bottom margins based on the screen size and possibly font size? I'm particularly ...
3
votes
3answers
784 views

Replace mode in a text editor, do we still want it? (Insert Key)

Most people are familiar with accidentally bumping the insert key, and then typing and finding that there text has been replaced. (overwritten with the new text they just typed.) I've used it maybe a ...
10
votes
4answers
851 views

What kind of text editor should I use for a reddit-like website?

I'm creating a website that is similar to reddit that focus on storytelling, art & literature, and having so much trouble choosing a text editor. I want some basic text editing (bold, italic, ...
0
votes
1answer
338 views

Best Practices for Code Editor and Auto-complete

I am working on a code editor application. The app will be web based and currently I am trying to investigate different best practices and value add to give the developers a reason to use the app. ...
3
votes
1answer
1k views

Should pressing Ctrl+C with nothing selected really clear your clipboard / copy the whole line?

It seems a bit counter-intuitive to me that in many text editors / IDEs, pressing Ctrl+C with nothing selected, clears your clipboard, or replaces it with whatever is on the same line as the caret. ...
0
votes
2answers
96 views

How to make tags in email template editor clear to all users?

I'm working on a web application where users (of an organization) can edit email templates. For example, one template would be used to confirm an appointment (that a client has made with the ...
14
votes
11answers
2k views

How to make font that clearly distinct “b” and “d” without sacrificing legibility

In x86 assembly language there are two registers named BX and DX. In the 32bit architecture, their names are EBX, EDX and in 64bit RBX and RDX. The lower byte is respectively BL, DL and the higher ...
12
votes
1answer
13k views

Why does the mouse cursor switch direction over line numbers in programming IDEs?

When you mouse over line numbers in IDEs, such as Visual Studio or Notepad++, the mouse cursor is flipped horizontally. I can't think of a reason this would be a ubiquitous user interface decision. ...
7
votes
2answers
246 views

Why the default behavior of a selection in text editor is self-destructive?

What I mean is the following standard behavior: If you select a text and then press any key, the text will be deleted and replaced with the character that you just entered. The only notable exception ...
18
votes
2answers
1k views

Slanted cursor+background for italic text?

In most applications that I'm familiar with, a text cursor in insertion mode is universally represented as a vertical blinking bar: As you can see, for some italic letters this creates visual ...
12
votes
3answers
2k views

Designing bidi text editing

Background. "Bidi" refers to the bidirectional text, that is a text where traditional left-to-right scripts are intermixed with right-to-left ones, such as Arabic, Hebrew, Farsi, Thaana, etc. Such ...
10
votes
9answers
2k views

How should text wrap in a code block?

I am working on an application where code will be shown on a mobile device. This gives us a constrained width as horizontal scrolling isn't a desired choice for code with long lines. So we have to ...
5
votes
3answers
576 views

Is it better to 'XOR' or 'shade' text that is highlighted?

What is the best way of displaying highlighted text in a text editor? I know of shading, which simulates what a physical highlighter does: And 'xor' highlighting: Are there any other methods? ...
13
votes
5answers
13k views

Modern approach to textarea (or alternatives)

For a simple text editor for longer articles I am looking for advice and inspiration on programming/designing a minimalistic and modern textarea (which does not necessarily have to use the tag) ...