Questions tagged [tabstop]

124 questions
1
vote
2 answers

Show spaces as tabs in Visual Studio

I need to use spaces instead of tabs and unfortunately I can't explain Visual Studio 2013 to show every 4 spaces as tab-stop. Example: def hello(): ....for i in range(3): ........print('Hello world!') but i need something like def hello(): ...|for…
kernelbug
  • 151
  • 1
  • 2
  • 13
1
vote
1 answer

'DING' On TabStop in C#/WPF

I currently have a WPF window with numerous textboxes/buttons. Currently when trying to use the TAB key to navigate between the objects you hear a 'DING' and the focus is not changed to the next object in the TabIndex. Here is what the window I have…
Cistoran
  • 1,587
  • 15
  • 36
  • 54
1
vote
1 answer

Change the tab (\t) length when using stringWithFormat?

I would like to specify a tab length or tab stops when using \t in the function stringWithFormat: buttonText3 = [NSString stringWithFormat:@"D:\t%ld:%02ld" , hoursAndMinutesDay.hours,hoursAndMinutesDay.minutes]; I have already tried to use a…
John
  • 8,468
  • 5
  • 36
  • 61
1
vote
3 answers

Modify detab to accept list of tab stops

This is my version of detab, from this K&R exercise: Modify detab to accept a list of tab stops as arguments. Use the default tab setting if there are no arguments. #include #include #define TAB_STOP 8 /* replaces tabs from…
Tool
  • 12,126
  • 15
  • 70
  • 120
1
vote
2 answers

Creating different tab pairs in vim

Vim newbie here. I would like to be able to create tabs in Vim such that, for example, the tabs are at 4" left and 1.5" right for one type of section, 1.5"/1.5" for another, etc. I know how to set tab stops, etc. but the trick here is I would like…
Marc Adler
  • 534
  • 1
  • 4
  • 16
1
vote
1 answer

How to set tab indentation in Google Code?

I use Visual Studio as my development environment, and tab indentation is 4, but after I commit to Google Code, the indentation is 8 in the browser, which makes my code look ugly. Does anyone know how to reset the tab indentation to 4 when looking…
1
vote
1 answer

Qt TabStop color troubles

In my application i have an annoying white rectangle on tabstop controls. I tried to look in stylesheets but myitem:tabstop style don't do anything. Is there any way i can somehow change tabstop color/or make it another form.
SirLanceloaaat
  • 213
  • 9
  • 18
1
vote
1 answer

Design Principle: Is there ever a reason to turn TabStop off?

In Visual Studio .NET the TabStop property is by default set to True for all command and input fields. Most other designers have some concept of tab control for "power users" who don't like to switch to their mouse a lot. This property simply…
Jrud
  • 820
  • 3
  • 7
  • 21
1
vote
2 answers

Same length string needs different amount of tabs to format

I have multiple strings with the same length, but they appear to need a different amount of tabstops to format properly. I am unsure on what too google for and I haven't gotten any results that would have helped me so I am asking here. What would be…
Dennis B
  • 23
  • 1
  • 6
1
vote
0 answers

Changing the TabStop on controls after the form has loaded

I have a form with a group of dropdowns that I want to keep out of the tab order in some cases. I've set the TabStop property to false and I set it to true when I want them to be in the tab order. I always want to include them all in the tab order…
matt.dolfin
  • 672
  • 4
  • 9
0
votes
3 answers

Tab styling with HTML and scripting logic

More of a stylistic question really, but how do you mix HTML tabs with scripting logic tabs in your source code? That might not be the best way to state the question, but I think a simple example will demonstrate it well. Note the tabbing: …
MikeMurko
  • 2,214
  • 1
  • 27
  • 56
0
votes
1 answer

Gvim File Extension specific tablength

Is it possible in Gvim to set tablength according to the name extension of the file which is being edited ? set tabstop=8 // For *.cpp set tabstop=3 // For *.svh set tabstop=8 // For *.pl
Jean
  • 21,665
  • 24
  • 69
  • 119
0
votes
1 answer

Excel VBA operation: losing TAB stop in cell, how to prevent this?

I'm using a simple VBA script to copy one cell value (E1) into another (Q1) in a list of files: Original file shown in text editor: Original file shown in Excel: Sub header_austauschen() ChDir (ActiveWorkbook.Sheets("Tabelle1").Range("D8")) …
Dreamingof8a
  • 127
  • 11
0
votes
0 answers

KeyDown event doesnt trigger with Shift. Other Keys Work

I´ve got multiple buttons that need to be accessed through KeyDown events in a Windows Form. I´ve set up some of them without any problems, but when setting the KeyCode to Keys.LShift it just doesn´t fire. (just changing LShift to C works like a…
thrieks
  • 1
  • 2
0
votes
1 answer

Delphi image button, no caption, no border with a tabstop

I want to use an image as a button that has no caption, no background and no border with a tabstop. I have tried the speedbutton with the flat property set which is perfect except it has no tabstop. I have tried the bitbtn which also accepts an…
Delphify
  • 13
  • 4
1 2 3
8 9