flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
ass0
just use some text editor, then copy, paste to the board.
_________________ ![]() Nombre: Aquiles Castro. Location2: about:robots |
|||
![]() |
|
Tyler
I'm pretty sure it's a browser problem, not a BB problem.
|
|||
![]() |
|
Madis731
ass0 is correct here. Usually where you want tabs is in your assembly (or any code) and because this textbox here is variable-width and tabs are visually apparent only when writing in fixed-width fonts. What I'm trying to say is that your tab-browser-misbehaviour is not the only problem you're facing.
(Btw, tab can be overridden to work the way you like, but I hate it about as much as that Adobe's Flash stealing all my focuses* ![]() *http://en.wikipedia.org/wiki/All_your_base_are_belong_to_us PS. I love LOLCODE: Code: HAI CAN HAS STDIO? PLZ OPEN FILE "LOLCATS.TXT"? AWSUM THX VISIBLE FILE O NOES INVISIBLE "ERROR!" KTHXBYE |
|||
![]() |
|
Coty
To fix this problem you would have to write a modification that when you press TAB it did not go to the next feild.
@Madis: Code: HAI BTW u forgot 2 comment u r code, so I deleted it, yor welcom BTW this is a coment KTHXBYE |
|||
![]() |
|
lazer1
Madis731 wrote: ass0 is correct here. Usually where you want tabs is in your assembly (or any code) and because this textbox here is variable-width and tabs are visually apparent only when writing in fixed-width fonts. What I'm trying to say is that your tab-browser-misbehaviour is not the only problem you're facing. I use Firefox on XP, any hints how to make tab function the way I want? it would be nice if control characters were kept to the alt- and F1 to F12 and other unusual keys. the whole point of tab is for text formatting, I think its delinquent to reassign tab to other uses. There are 12 function keys at the top of a keyboard, combined with alt that is 24 keys ![]() |
|||
![]() |
|
Madis731
1) Google "browser tab textbox"
2) 1st link: http://superuser.com/questions/67934/typing-the-tab-character-in-browser-text-boxes 3) 1st answer: https://addons.mozilla.org/en-US/firefox/addon/tabinta/ |
|||
![]() |
|
SFeLi
Madis731, tabinta cannot tab selection, it only inserts \t.
Btw, here's my bookmarklet. This terrible code was written years ago, and it works only on Gecko browsers. However it can be fixed and easily converted into the userscript: Code: javascript:void(document.getElementsByTagName('textarea')[0].onkeypress=function(e){if(e.keyCode!=9||e.ctrlKey||e.altKey)return true;var tabWidth=8,t=e.target,fwd=!e.shiftKey,txt=t.value,tmp,pad=(new Array(tabWidth+1)).join('\x20'),i,r,s1=t.selectionStart,s1s=txt.lastIndexOf('\n',s1-1)+1,s2=t.selectionEnd,s2e=txt.indexOf('\n',s2);s2e=(s2e==-1)?txt.length:s2e;if(s1==s2){if(fwd)pad=pad.substr((s1-s1s)%tabWidth),txt=txt.substr(0,s1)+pad+txt.substr(s2),s1=s2+=pad.length;else s1=((s1-s1s+tabWidth-1)&~(tabWidth-1))-tabWidth,s2=s1=s1s+((s1>=0)?s1:0);}else{tmp=txt.substring(s1s,s2e).split(/\n/);for(i=0;i<tmp.length;++i)if(fwd){tmp[i]=pad+tmp[i];}else{if((r=tmp[i].match(/^\x20+/))!=null&&r[0].length>=tabWidth)tmp[i]=tmp[i].substr(tabWidth);}r=tmp.join('\n');s1=s1s,s2=s1+r.length;txt=txt.substr(0,s1s)+r+txt.substr(s2e);}t.value=txt;t.selectionStart=s1;t.selectionEnd=s2;return false;}) |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.