Questions tagged [tabstop]
124 questions
5
votes
2 answers
Tabs "can be displayed completely differently on different types of systems and editors"?
While reading arguments against the use of Tabs, I came across this (source):
...it can be a good idea to avoid tabs alltogether, because the semantics of tabs are not very well-defined in the computer world, and they can be displayed completely…

its_me
- 10,998
- 25
- 82
- 130
4
votes
2 answers
WinForm - TabStop Not Working
I have a WinForm with 3 group boxes, one with combo boxes, and two with radio buttons. I set all of them and their children controls to "TabStop = false", but when I cycle with TAB, the currently selected radio button in each of the last two group…

OIO
- 363
- 7
- 16
4
votes
1 answer
How is the newline, tab characters represented in purescript?
For eg.
How do I print out something like this:
showEntry entry = entry.lastName ++ "\t" ++
entry.firstName ++ "\t" ++
entry.phone
print(showEntry {lastName: 'Doe', firstName: 'John', phone: '555-555-5555'})
This…

Arunan Rabindran
- 43
- 4
4
votes
2 answers
I need help understanding what Exercise 5-12 is asking for in the C Programming Language book
K&R C Programming Language: pg. 105
Extend entab and detab to accept the shorthand
entab -m +n
to mean tab stops every n columns, starting at column m.
entab replaces a number of spaces with a tab character and detab does the opposite. The…

marsol0x
- 715
- 1
- 6
- 5
4
votes
4 answers
Python tabstop-aware len() and padding functions
Python's len() and padding functions like string.ljust() are not tabstop-aware, i.e. they treat '\t' like any other single-width character, and don't round len() up to the nearest multiple of tabstop. Example:
len('Bear\tnecessities\t')
is 17…

smci
- 32,567
- 20
- 113
- 146
3
votes
3 answers
vim - set auto indent to fill the leading space with space or tabstop
It seems if we enable 'ai', vim will fill the the leading space with tabstop.
I can make it fill with just space with 'et'. I don't like a C file mixed with space and tabstop.
My vimrc:
set ts=4 et
set ai
set hlsearch
syntax on
filetype plugin…

pengguang001
- 4,045
- 6
- 27
- 31
3
votes
1 answer
Why WS_TABSTOP doesn't work on rich edit control?
Focus change using tab key doesn't work on rich edit control, but works fine if rich edit control is replaced by WC_EDIT control.
#include
#include
#include
#pragma comment(lib, "comctl32.lib")
#pragma…

krsi
- 1,045
- 2
- 14
- 24
3
votes
1 answer
AdornerDecorator and tab stop issues
I am using IDataErrorInfo to validate and indicate errors in my text boxes. I am finding I have to tab once for the text box and once for the adornerdecorator.
I have an error template:

Trev
- 174
- 3
- 10
3
votes
2 answers
changing tabstop from 4 to 2 after using expandtab (with minimum manual effort)
For some time I have used tabstop=4 in my source files. Now that I write lot of javascript that has deep indentations, a tabstop of 4 seems wasteful, so I want to convert it to 2. The problem is I use "set expandtab" too. So merely setting…

Jayesh
- 51,787
- 22
- 76
- 99
3
votes
1 answer
How to stop light table using spaces instead of tabs
How do I stop Light Table IDE from replacing tabs with spaces? I have tried adding the following line the editor behaviours in user.behaviours but it hasn't worked.
(:lt.objs.editor/tab-settings true 4 4)
I would like to know what I am doing wrong.

Pete
- 33
- 4
3
votes
3 answers
Using span to insert tab in textview
Is there a way to add a tab character to a piece of text using span in textview? From the developer documentation, I came across TabStopSpan (see here) and tried to use it in a TextView like so:
String source = "Hello World! Let's select some…

Sriram
- 10,298
- 21
- 83
- 136
3
votes
3 answers
Tabbing in a loop through a winform
I have an application where I have several forms. Its a C# windows-form based application build in .NET 4.O. I have several forms where the user enters the data. There are grids where data is displayed and whole lots of controls on the form. Believe…

C_sharp
- 408
- 5
- 26
2
votes
1 answer
Vim: Persistent Indentation
I have set smartindent in my Vim configuration file, but there is one aspect of automatic tab insertion in Vim that I would like to modify. Say, for example, that I begin typing a for-loop:
1. for (auto& foo : bar) {
2.
After I hit return, Vim…

void-pointer
- 14,247
- 11
- 43
- 61
2
votes
1 answer
WS_TABSTOP in winapi on edit controls of child windows
In my WinAPI application, I have a series of edit controls in a child window. I would like the user to be able to move between them by pressing on the tab key to go forward and shift-tab to go back, but I can't seem to figure out how to use…

Juanita Lopez
- 61
- 4