| Issue 825: | Different tab size in side-by-side view | |
| 22 people starred this issue and may be notified of changes. | Back to list |
Affected Version: 2.1.5 What steps will reproduce the problem? 1. Open side-by-side view with some code that is using tab in the code 2. Set Tab with 4 3. Turn on Syntax Coloring and Show Tabs What is the expected output? What do you see instead? It should show as following. 150 #define DW_EH_PE_absptr 0x00 151 #define DW_EH_PE_omit 0xff 152 #define DW_EH_PE_uleb128 0x01 153 #define DW_EH_PE_udata2 0x02 154 #define DW_EH_PE_udata4 0x03 155 #define DW_EH_PE_udata8 0x04 156 #define DW_EH_PE_sleb128 0x09 157 #define DW_EH_PE_sdata2 0x0a 158 #define DW_EH_PE_sdata4 0x0b 159 #define DW_EH_PE_sdata8 0x0c 160 #define DW_EH_PE_signed 0x08 161 #define DW_EH_PE_pcrel 0x10 162 #define DW_EH_PE_textrel 0x20 163 #define DW_EH_PE_datarel 0x30 164 #define DW_EH_PE_funcrel 0x40 165 #define DW_EH_PE_aligned 0x50 166 #define DW_EH_PE_indirect 0x80 But it shows like this 150 #define DW_EH_PE_absptr» » 0x00 151 #define DW_EH_PE_omit» » 0xff 152 #define DW_EH_PE_uleb128» 0x01 153 #define DW_EH_PE_udata2» » 0x02 154 #define DW_EH_PE_udata4» » 0x03 155 #define DW_EH_PE_udata8» » 0x04 156 #define DW_EH_PE_sleb128» 0x09 157 #define DW_EH_PE_sdata2» » 0x0a 158 #define DW_EH_PE_sdata4» » 0x0b 159 #define DW_EH_PE_sdata8» » 0x0c 160 #define DW_EH_PE_signed» » 0x08 161 #define DW_EH_PE_pcrel» » 0x10 162 #define DW_EH_PE_textrel» 0x20 163 #define DW_EH_PE_datarel» 0x30 164 #define DW_EH_PE_funcrel» 0x40 165 #define DW_EH_PE_aligned» 0x50 166 #define DW_EH_PE_indirect» 0x80 Please provide any additional information below. If the tab is starting at column 3 + (4*n), the tab size is going to be 5.
Apr 21, 2011
#1
mdi...@google.com
Apr 21, 2011
I just noticed that, as the first report suggested, syntax coloring affects the bug too. The only combination that gives a correct display is show tabs off, syntax coloring on. Here is an example of what what I see on 2.1.6.1-1-g9ed6164: Correct display (with show tabs off, syntax coloring on): #define SMBPEC (8 + i801_smba) /* ICH3 and later */ #define SMBAUXSTS (12 + i801_smba) /* ICH4 and later */ Incorrect display with show tabs off, syntax coloring off: #define SMBPEC (8 + i801_smba) /* ICH3 and later * / #define SMBAUXSTS (12 + i801_smba) /* ICH4 and later */ Incorrect display with show tabs on, syntax coloring on: #define SMBPEC» » (8 + i801_smba)» » /* ICH3 and later */ #define SMBAUXSTS» (12 + i801_smba)» /* ICH4 and later */ Incorrect display with show tabs on, syntax coloring off: #define SMBPEC» » (8 + i801_smba)» » /* ICH3 and later * / #define SMBAUXSTS» (12 + i801_smba)» /* ICH4 and later */
May 20, 2011
(No comment was entered for this change.)
Status:
Accepted
May 20, 2011
Issue 929 has been merged into this issue. |
|
| ► Sign in to add a comment |