IDEs still suck at file management
-
@dkf said in IDEs still suck at file management:
I prefer to require both parens and braces. So what if it takes extra characters? Is there a world parenthesis shortage?
Each additional token you have to read is additional cognitive load on understanding code snippet. Also, consistency. Non-required parentheses don't create the possibility for inconsistency that non-required braces do.
@asdf said in IDEs still suck at file management:
I think you mean the other way around, right?
Both are just as insane.
-
@Gąska said in IDEs still suck at file management:
Non-required parentheses don't create the possibility for inconsistency that non-required braces do.
if x < y (- x.SomeMethod())
-
-
@Gąska well, the parentheses are optional. The following two would be identical:
if x < y (x.SomeMethod())
if x < y x.SomeMethod()
So if you include a
-
sign, it's an example of non-required parentheses creating the possibility for inconsistency.Another one that springs to mind is Javascript's fat-arrow functions, where wrapping an expression in parentheses forces it to interpret the braces as object syntax instead of a code block:
var fn1 = x => {label: x}; var fn2 = x => ({label: x});
-
@anotherusername said in IDEs still suck at file management:
So if you include a - sign, it's an example of non-required parentheses creating the possibility for inconsistency.
Not if braces are required
-
@boomzilla said in IDEs still suck at file management:
@masonwheeler said in IDEs still suck at file management:
There has to be a disambiguator, or things can end up very ambiguous.
Easy!
if x < y {- x.SomeMethod()}
Perfect time to make the braces required. Where we still have that awful and dangerous ambiguity.
Not sure why you need to make that negative, though.
Why should it be allowed to start a statement with an operator (or generally to have statements that are calculations, rather than simple function calls, yet don't store the result of the calculation anywhere) anyways?
If you define that two expressions can only be joined with an operator between them, and that a statement needs to start with an identifier, you shouldn't need any brace or other token between the condition and the body.
-
@blakeyrat said in IDEs still suck at file management:
That's a terrible image, those are Hawaiian tiki torches, and there's not a single pitchfork.
I'm glad someone else saw this, lest I post about it and suffer a ...
-
@Grunnen said in IDEs still suck at file management:
Why should it be allowed to start a statement with an operator
- x.SomeMethod() < 0 ? foo() : bar()
Starts with an operator, does something valid.
-
@anotherusername Yes, you can theoretically do that in certain languages. But to be honest, would you rather have a language which accepts this:
if (x < y) { - x.someMethod() < 0 ? foo() : bar(); }
Or a language which accepts this:
if x < y foo();
? I think the former is making misuse of operators. Like the
mysql_do_something or die();
pattern of PHP.
-
@Grunnen I can't see how these two grammars are mutually exclusive.
-
@dkf said in IDEs still suck at file management:
Is there a world parenthesis shortage?
Bot feature request: vote wasteaparen
-
@Grunnen said in IDEs still suck at file management:
Like the mysql_do_something or die(); pattern of PHP.
Perl had it first.
And I absolutely hated it even then.
-
@masonwheeler said in IDEs still suck at file management:
@dkf said in IDEs still suck at file management:
@Dreikin said in IDEs still suck at file management:
You could keep going till it no longer evaluates to a Boolean, and the part that follows is the body.
Theoretically, you can just parse whatever meets the rule for an expression and use that, with whatever meets the definition for a statement or statements following. Only problem is that this makes debugging syntax errors potentially “rather more interesting”…
if x < y - x.SomeMethod()
There has to be a disambiguator, or things can end up very ambiguous.
In this case, the disambiguator is operator precedence and ordering.
Btw, the example I had in my head but didn't feel like typing on my phone:
sat = if (x1 || x2 || xn) && (y1 || x2 || xn) && (x1 || y2 || xn) && (y1 || y2 || xn) && (x1 || x2 || yn) && (y1 || x2 || yn) && (x1 || y2 || yn) && (y1 || y2 || yn) true false
-
@blakeyrat said in IDEs still suck at file management:
@Dreikin That's a terrible image, those are Hawaiian tiki torches, and there's not a single pitchfork.
See‽ See how jaded they are‽ They can't even be bothered to grab pitchforks!
-
@Gąska said in IDEs still suck at file management:
@Dreikin said in IDEs still suck at file management:
You could keep going till it no longer evaluates to a Boolean, and the part that follows is the body.
Have fun building AST before type-checking.
Hey, PHP did without an AST just fine.
-
@Dreikin Just because we can doesn't mean that we should. It's good to not use the minimum number of symbols, as that means that there's a chance to figure out what's happening in a syntax error. Without the extra symbols, there's insufficient context for sane recovery.
-
@dkf said in IDEs still suck at file management:
@Dreikin Just because we can doesn't mean that we should. It's good to not use the minimum number of symbols, as that means that there's a chance to figure out what's happening in a syntax error. Without the extra symbols, there's insufficient context for sane recovery.
Oh, I very much agree. My point was that it was possible, not that it was a good idea.
-
@accalia said in IDEs still suck at file management:
@masonwheeler said in IDEs still suck at file management:
There has to be a disambiguator, or things can end up very ambiguous.
there is one. any compiler i write, upon encountering an ambiguous AST will cause your computer to open a hellportal and summon imps and demons to plague the developer who wrote the ambiguity until such time as they correct the ambiguity.
and I thought gcc error messages suck
-
@fbmac said in IDEs still suck at file management:
@accalia said in IDEs still suck at file management:
@masonwheeler said in IDEs still suck at file management:
There has to be a disambiguator, or things can end up very ambiguous.
there is one. any compiler i write, upon encountering an ambiguous AST will cause your computer to open a hellportal and summon imps and demons to plague the developer who wrote the ambiguity until such time as they correct the ambiguity.
and I thought gcc error messages suck
GCC's error messages have nothing on the hostility of my compiler error messages.
serves the developers right for not coding properly in the first place.
-
@accalia said in IDEs still suck at file management:
@fbmac said in IDEs still suck at file management:
@accalia said in IDEs still suck at file management:
@masonwheeler said in IDEs still suck at file management:
There has to be a disambiguator, or things can end up very ambiguous.
there is one. any compiler i write, upon encountering an ambiguous AST will cause your computer to open a hellportal and summon imps and demons to plague the developer who wrote the ambiguity until such time as they correct the ambiguity.
and I thought gcc error messages suck
GCC's error messages have nothing on the hostility of my compiler error messages.
serves the developers right for not coding properly in the first place.
Just imagine if you wrote V8 that way. And it happened every time it was compiled/JITed/whatever.
-
-
@accalia I continue my petition to rewrite all
Warning
s asACHTUNG
s. If you could implement that as well, that would help immensely.
-
ACHTUNG!
ALLES TURISTEN UND NONTEKNISCHEN LOOKENPEEPERS!
DAS KOMPUTERMASCHINE IST NICHT FÜR DER GEFINGERPOKEN UND MITTENGRABEN! ODERWISE IST EASY TO SCHNAPPEN DER SPRINGENWERK, BLOWENFUSEN UND POPPENCORKEN MIT SPITZENSPARKEN.
IST NICHT FÜR GEWERKEN BEI DUMMKOPFEN. DER RUBBERNECKEN SIGHTSEEREN KEEPEN DAS COTTONPICKEN HÄNDER IN DAS POCKETS MUSS.
ZO RELAXEN UND WATSCHEN DER BLINKENLICHTEN.
-
@Dreikin said in IDEs still suck at file management:
Hey, PHP did without an AST just fine.
For a very generous definition of "fine"...
-
@Onyx said in IDEs still suck at file management:
@accalia I continue my petition to rewrite all
Warning
s asACHTUNG
s. If you could implement that as well, that would help immensely.LANG=de g++
?
-
Filed under: had to open Blend to take that screenshot because I have VS2015 itself running in English
-
@Gąska said in IDEs still suck at file management:
@Onyx said in IDEs still suck at file management:
@accalia I continue my petition to rewrite all
Warning
s asACHTUNG
s. If you could implement that as well, that would help immensely.LANG=de g++
?Given the intent, I think more like
LANG=de_NSDAP g++
.
-
@aliceif MS is just not hip enough.
-
@accalia Needs more Fraktur! ;)
-
@dkf said in IDEs still suck at file management:
@accalia Needs more Fraktur! ;)
𝕬𝕮𝕳𝕿𝖀𝕹𝕲!
𝕬𝕷𝕷𝕰𝕾 𝕿𝖀𝕽𝕴𝕾𝕿𝕰𝕹 𝖀𝕹𝕯 𝕹𝕺𝕹𝕿𝕰𝕶𝕹𝕴𝕾𝕮𝕳𝕰𝕹 𝕷𝕺𝕺𝕶𝕰𝕹𝕻𝕰𝕰𝕻𝕰𝕽𝕾! 𝕯𝕬𝕾 𝕶𝕺𝕸𝕻𝖀𝕿𝕰𝕽𝕸𝕬𝕾𝕮𝕳𝕴𝕹𝕰 𝕴𝕾𝕿 𝕹𝕴𝕮𝕳𝕿 𝕱𝖀𝕽 𝕯𝕰𝕽 𝕲𝕰𝕱𝕴𝕹𝕲𝕰𝕽𝕻𝕺𝕶𝕰𝕹 𝖀𝕹𝕯 𝕸𝕴𝕿𝕿𝕰𝕹𝕲𝕽𝕬𝕭𝕰𝕹! 𝕺𝕯𝕰𝕽𝖂𝕴𝕾𝕰 𝕴𝕾𝕿 𝕰𝕬𝕾𝖄 𝕿𝕺 𝕾𝕮𝕳𝕹𝕬𝕻𝕻𝕰𝕹 𝕯𝕰𝕽 𝕾𝕻𝕽𝕴𝕹𝕲𝕰𝕹𝖂𝕰𝕽𝕶, 𝕭𝕷𝕺𝖂𝕰𝕹𝕱𝖀𝕾𝕰𝕹 𝖀𝕹𝕯 𝕻𝕺𝕻𝕻𝕰𝕹𝕮𝕺𝕽𝕶𝕰𝕹 𝕸𝕴𝕿 𝕾𝕻𝕴𝕿𝖅𝕰𝕹𝕾𝕻𝕬𝕽𝕶𝕰𝕹.
𝕴𝕾𝕿 𝕹𝕴𝕮𝕳𝕿 𝕱𝖀𝕽 𝕲𝕰𝖂𝕰𝕽𝕶𝕰𝕹 𝕭𝕰𝕴 𝕯𝖀𝕸𝕸𝕶𝕺𝕻𝕱𝕰𝕹. 𝕯𝕰𝕽 𝕽𝖀𝕭𝕭𝕰𝕽𝕹𝕰𝕮𝕶𝕰𝕹 𝕾𝕴𝕲𝕳𝕿𝕾𝕰𝕰𝕽𝕰𝕹 𝕶𝕰𝕰𝕻𝕰𝕹 𝕯𝕬𝕾 𝕮𝕺𝕿𝕿𝕺𝕹𝕻𝕴𝕮𝕶𝕰𝕹 𝕳𝕬𝕹𝕯𝕰𝕽 𝕴𝕹 𝕯𝕬𝕾 𝕻𝕺𝕮𝕶𝕰𝕿𝕾 𝕸𝖀𝕾𝕾.
𝖅𝕺 𝕽𝕰𝕷𝕬𝖃𝕰𝕹 𝖀𝕹𝕯 𝖂𝕬𝕿𝕾𝕮𝕳𝕰𝕹 𝕯𝕰𝕽 𝕭𝕷𝕴𝕹𝕶𝕰𝕹𝕷𝕴𝕮𝕳𝕿𝕰𝕹.
-
@Dreikin said in IDEs still suck at file management:
@dkf said in IDEs still suck at file management:
@accalia Needs more Fraktur! ;)
𝕬𝕮𝕳𝕿𝖀𝕹𝕲!
𝕬𝕷𝕷𝕰𝕾 𝕿𝖀𝕽𝕴𝕾𝕿𝕰𝕹 𝖀𝕹𝕯 𝕹𝕺𝕹𝕿𝕰𝕶𝕹𝕴𝕾𝕮𝕳𝕰𝕹 𝕷𝕺𝕺𝕶𝕰𝕹𝕻𝕰𝕰𝕻𝕰𝕽𝕾! 𝕯𝕬𝕾 𝕶𝕺𝕸𝕻𝖀𝕿𝕰𝕽𝕸𝕬𝕾𝕮𝕳𝕴𝕹𝕰 𝕴𝕾𝕿 𝕹𝕴𝕮𝕳𝕿 𝕱𝖀𝕽 𝕯𝕰𝕽 𝕲𝕰𝕱𝕴𝕹𝕲𝕰𝕽𝕻𝕺𝕶𝕰𝕹 𝖀𝕹𝕯 𝕸𝕴𝕿𝕿𝕰𝕹𝕲𝕽𝕬𝕭𝕰𝕹! 𝕺𝕯𝕰𝕽𝖂𝕴𝕾𝕰 𝕴𝕾𝕿 𝕰𝕬𝕾𝖄 𝕿𝕺 𝕾𝕮𝕳𝕹𝕬𝕻𝕻𝕰𝕹 𝕯𝕰𝕽 𝕾𝕻𝕽𝕴𝕹𝕲𝕰𝕹𝖂𝕰𝕽𝕶, 𝕭𝕷𝕺𝖂𝕰𝕹𝕱𝖀𝕾𝕰𝕹 𝖀𝕹𝕯 𝕻𝕺𝕻𝕻𝕰𝕹𝕮𝕺𝕽𝕶𝕰𝕹 𝕸𝕴𝕿 𝕾𝕻𝕴𝕿𝖅𝕰𝕹𝕾𝕻𝕬𝕽𝕶𝕰𝕹.
𝕴𝕾𝕿 𝕹𝕴𝕮𝕳𝕿 𝕱𝖀𝕽 𝕲𝕰𝖂𝕰𝕽𝕶𝕰𝕹 𝕭𝕰𝕴 𝕯𝖀𝕸𝕸𝕶𝕺𝕻𝕱𝕰𝕹. 𝕯𝕰𝕽 𝕽𝖀𝕭𝕭𝕰𝕽𝕹𝕰𝕮𝕶𝕰𝕹 𝕾𝕴𝕲𝕳𝕿𝕾𝕰𝕰𝕽𝕰𝕹 𝕶𝕰𝕰𝕻𝕰𝕹 𝕯𝕬𝕾 𝕮𝕺𝕿𝕿𝕺𝕹𝕻𝕴𝕮𝕶𝕰𝕹 𝕳𝕬𝕹𝕯𝕰𝕽 𝕴𝕹 𝕯𝕬𝕾 𝕻𝕺𝕮𝕶𝕰𝕿𝕾 𝕸𝖀𝕾𝕾.
𝖅𝕺 𝕽𝕰𝕷𝕬𝖃𝕰𝕹 𝖀𝕹𝕯 𝖂𝕬𝕿𝕾𝕮𝕳𝕰𝕹 𝕯𝕰𝕽 𝕭𝕷𝕴𝕹𝕶𝕰𝕹𝕷𝕴𝕮𝕳𝕿𝕰𝕹.
So boxes all the way down?
Uh oh, that didn't translate:
-
@accalia like something from the enlightenment topic
spank spank
-
@fbmac said in IDEs still suck at file management:
spank spank
oh, it's going to be like that is it?
well, if you want to have fun that way follow me down into my dungeon...
-
-
@dkf so far.
-
@dkf said in IDEs still suck at file management:
Put the braces in; you can afford the extra line or lines it takes, as there's no world shortage of whitespace.
Well, you forget about the embedded systems. ;)
-
@kt_ I don't know anyone who would do programming on embedded systems (as opposed to for).
-
@Gąska said in IDEs still suck at file management:
@kt_ I don't know anyone who would do programming on embedded systems (as opposed to for).
It's not polite to ask in public whether people are into S&M…
-
@Gąska said in IDEs still suck at file management:
@kt_ I don't know anyone who would do programming on embedded systems (as opposed to for).
You shouldn't brag about that, that's S&Mist. ;(
-
@Tsaukpaetra said in IDEs still suck at file management:
So boxes all the way down?
If you had the correct Unicode font, you wouldn't see boxes. And, you could do this (actually, the code might still work even if all you can see is boxes):
var a = Array.apply(0,Array(95)).map((_,i)=>String.fromCharCode(i+32)).sort((a, b) => a.localeCompare(b)); console.log(`𝕬𝕮𝕳𝕿𝖀𝕹𝕲! 𝕬𝕷𝕷𝕰𝕾 𝕿𝖀𝕽𝕴𝕾𝕿𝕰𝕹 𝖀𝕹𝕯 𝕹𝕺𝕹𝕿𝕰𝕶𝕹𝕴𝕾𝕮𝕳𝕰𝕹 𝕷𝕺𝕺𝕶𝕰𝕹𝕻𝕰𝕰𝕻𝕰𝕽𝕾! 𝕯𝕬𝕾 𝕶𝕺𝕸𝕻𝖀𝕿𝕰𝕽𝕸𝕬𝕾𝕮𝕳𝕴𝕹𝕰 𝕴𝕾𝕿 𝕹𝕴𝕮𝕳𝕿 𝕱𝖀𝕽 𝕯𝕰𝕽 𝕲𝕰𝕱𝕴𝕹𝕲𝕰𝕽𝕻𝕺𝕶𝕰𝕹 𝖀𝕹𝕯 𝕸𝕴𝕿𝕿𝕰𝕹𝕲𝕽𝕬𝕭𝕰𝕹! 𝕺𝕯𝕰𝕽𝖂𝕴𝕾𝕰 𝕴𝕾𝕿 𝕰𝕬𝕾𝖄 𝕿𝕺 𝕾𝕮𝕳𝕹𝕬𝕻𝕻𝕰𝕹 𝕯𝕰𝕽 𝕾𝕻𝕽𝕴𝕹𝕲𝕰𝕹𝖂𝕰𝕽𝕶, 𝕭𝕷𝕺𝖂𝕰𝕹𝕱𝖀𝕾𝕰𝕹 𝖀𝕹𝕯 𝕻𝕺𝕻𝕻𝕰𝕹𝕮𝕺𝕽𝕶𝕰𝕹 𝕸𝕴𝕿 𝕾𝕻𝕴𝕿𝖅𝕰𝕹𝕾𝕻𝕬𝕽𝕶𝕰𝕹. 𝕴𝕾𝕿 𝕹𝕴𝕮𝕳𝕿 𝕱𝖀𝕽 𝕲𝕰𝖂𝕰𝕽𝕶𝕰𝕹 𝕭𝕰𝕴 𝕯𝖀𝕸𝕸𝕶𝕺𝕻𝕱𝕰𝕹. 𝕯𝕰𝕽 𝕽𝖀𝕭𝕭𝕰𝕽𝕹𝕰𝕮𝕶𝕰𝕹 𝕾𝕴𝕲𝕳𝕿𝕾𝕰𝕰𝕽𝕰𝕹 𝕶𝕰𝕰𝕻𝕰𝕹 𝕯𝕬𝕾 𝕮𝕺𝕿𝕿𝕺𝕹𝕻𝕴𝕮𝕶𝕰𝕹 𝕳𝕬𝕹𝕯𝕰𝕽 𝕴𝕹 𝕯𝕬𝕾 𝕻𝕺𝕮𝕶𝕰𝕿𝕾 𝕸𝖀𝕾𝕾. 𝖅𝕺 𝕽𝕰𝕷𝕬𝖃𝕰𝕹 𝖀𝕹𝕯 𝖂𝕬𝕿𝕾𝕮𝕳𝕰𝕹 𝕯𝕰𝕽 𝕭𝕷𝕴𝕹𝕶𝕰𝕹𝕷𝕴𝕮𝕳𝕿𝕰𝕹.` .split(/(?![\udc00-\udfff])/) // split between every two characters except if the next character is a low surrogate .map(c => a.indexOf(c) >= 0 || /\s/.test(c) ? c : a[a.map(a => c.localeCompare(a)).lastIndexOf(1)][c == c.toUpperCase() ? "toUpperCase" : "toLowerCase"]()) .join(""));
Also works great for turning Super obnoxious full-width text into plain ol' ISO basic Latin.
-
Interestingly, some IDEs do wonderful things with unicode, like VS and the whole mahjong set. I mean, if you use those characters in a universal app, they get translated to wonderful multicolor vector images automatically. Just wish I could apply colors to them.
-
@Magus there's nothing I love more than computers misrepresenting my typography.
-
@anotherusername bookmarklet version:
javascript:for(let s=window.getSelection(),a=Array.apply(0,Array(95)).map((_,i)=>String.fromCharCode(i+32)).sort((a,b)=>a.localeCompare(b)),T=t=>t.normalize('NFKD').replace(/[\u0300-\u036F]/g,'').split(/(?![\udc00-\udfff])/).map(c=>a.indexOf(c)>=0||/\s/.test(c)?c:(a[a.map(a=>c.localeCompare(a)).lastIndexOf(1)]||"")[c==c.toUpperCase()?"toUpperCase":"toLowerCase"]()).join(""),p=n=>n.hasChildNodes()?[].forEach.call(n.childNodes,p):n.data&&r.intersectsNode(n)?(n.data=(n==r.startContainer?n==r.endContainer?n.data.slice(0,r.startOffset)+T(n.data.slice(r.startOffset,r.endOffset))+n.data.slice(r.endOffset):n.data.slice(0,r.startOffset)+T(n.data.slice(r.startOffset)):n==r.endContainer?T(n.data.slice(0,r.endOffset))+n.data.slice(r.endOffset):T(n.data))):0,r,j;s.rangeCount;s.removeRange(r)){r=s.getRangeAt(0);p(r.commonAncestorContainer);r.commonAncestorContainer.normalize()}
edit: fixed edge cases (literally) and made it remove combining marks so it'll also un-z͙̦͔̗͕͕̰̠̱͇̜̟̖̉̈̍͆͊͞a̙̗̞͚̟͇͔͔̺̲̜͖̹̘̲͓̰̘̗͆ͥ́̔ͮ̾̊͊ͬ̌ͪ̿͘͘l̶̷͍͙̜̟̤͔̩̺̩͚̗͉͇̪͇̻ͯ͋̿ͥ̆͒̇̔ͦ͊̓ͣ́̕͝g̨̠̺̜̜͓̙̼̜̙̀ͯͨ̍ͫ̑õ̴̬̪̻̱͇̰̘̪͎̻̗͉͖̦̫̼͔͇ͯ̃͡ͅ ̢̓̿̈͋̏̐̏̐̑̉͟͞͏̫͎͕͚̗͚̙̜̹̙͎̖̩͇t̴ͬ̍̊͒͑͌̓ͫ͗ͭ̏ͮ͊ͬ̂͊̒ͨ͌҉̦̺̞͖̟͈̝̮̜̗̜͙̯̝̮̗̮̀͟e̶̴̱̠͈͙̘̖̐ͧ̎̉͆ͫͮ̒͑ͣ̓̔̈ͧ̊̚̚̚͟x̏ͭ̃ͭ̐̓̏ͫ́ͣ͌ͪ͌̄͆̇̎̏̚̕͏͇͚̙͍̥̭̤̺t̨̓̇ͬͤ͐ͦ͒̔̂̚͟͏̧̪̠̪̼͓.
-
@Tsaukpaetra said in IDEs still suck at file management:
So boxes all the way down?
Holy crap, even out of mobile I can't read this...
@anotherusername said in IDEs still suck at file management:
If you had the correct Unicode font, you wouldn't see boxes.
I have
ita small part sufficient enough for it. The lack of boxes does not help.@anotherusername said in IDEs still suck at file management:
And, you could do this (actually, the code might still work even if all you can see is boxes):
Sure, I'll just pull up the insert mobile browser name here's Dev console and... wait....
-
@Tsaukpaetra said in IDEs still suck at file management:
Sure, I'll just pull up the insert mobile browser name here's Dev console and... wait....
I was going to say the bookmarklet, but then I tried it in Chrome on iPhone and apparently the selection gets lost when I try to navigate to the bookmark. :(
I s'pose I could modify it to do the whole entire page if there's nothing highlighted, but then stuff like FontAwesome might get nuked too.
-
@anotherusername said in IDEs still suck at file management:
bookmarklet
Yeah, those don't exist in Chrome Mobile.
So many things that don't exist in Chrome Mobile...
-
@Tsaukpaetra really? It let me create the bookmarklet, and it didn't give me any indication that there was a problem when I tried to run it. Hold on... yeah, it seems you're right. I can't even get a simple
javascript:alert('test');
to do anything.Maybe I should re-attempt it in Safari... I know bookmarklets work in that.
-
@anotherusername said in IDEs still suck at file management:
there was a problem when I tried to run it
In Chrome Mobile on Android, attempting to navigate bookmarks dismisses the page (like browsing to a new URL), so all the DOM doesn't exist like that anymore. At least, that's my interpretation, didn't hook up the debugger or anything like that...
-
@Tsaukpaetra the bookmarks open in a fullscreen interface but clicking the bookmarklet made that disappear and I was back on the page, only difference being that what I'd selected was no longer selected. Which wasn't odd, because the bookmarklet should clear the selection as it does its thing.
edit: I tried it in mobile Safari. The selection still got cleared when I tried to open the bookmarks menu. Since bookmarklets do work in Safari, I could probably make it do the whole page, but it's not like I'll ever use it...
-
@anotherusername Ok, I discovered that I can do bookmarklets through the awesome bar, but again since selected text gets unselected, it doesn't work.
So close but yet so very far...
Also, found out that another bookmarklet that lets you click-to-delete elements doesn't work very well when it depends on you pressing the Escape key to end its functionality...