Ian

Wales, United Kingdom

github.com/idmillington

Age: 40

Jan
26
comment How do I skip a match when using Ctrl+D for multiple selections in Sublime Text 2?
@Qwerty Now it is true that sometimes you don't need to skip, just use Ctrl+D correctly (and the OP might benefit from having it pointed out that in this specific example is one of them). But in many cases you do need to skip, so answering the question of how to skip by saying, effectively "don't" is unhelpful. As Romain says, if you want to make sure there's an answer on SO to the more general question, then create one, rather than editing this.
Jan
26
comment How do I skip a match when using Ctrl+D for multiple selections in Sublime Text 2?
@Qwerty - I understand what you're saying. OP describes what s/he is trying to do (select matching variables), then asks a question about how to do something (skip some Ctrl+D matches) that will achieve their goal (and it will achieve their goal). You're saying that, the OP doesn't need to skip to select her/his variables, s/he can put the cursor before the first occurrence and Ctrl+D will do the right thing. Correct. But that's not the question s/he asked (perhaps it is the question s/he should have asked). S/he asked how to skip, so Ctrl+K then Ctrl+D is correct. [more...]
Jan
26
revised How do I skip a match when using Ctrl+D for multiple selections in Sublime Text 2?
The edit by Queerty of the title missed the point of the question. This makes it clearer, and makes it clear why the top rated answer is so good.
Jan
26
comment How do I skip a match when using Ctrl+D for multiple selections in Sublime Text 2?
Your edit of the title here @Qwerty complete misses the point of the question and makes it much less clear. The question is how to skip a Ctrl+D match, the new question title isn't even a question.
Jan
4
revised Haskell Expression Equivalents
I changed my code's function names when I wrote the Qn - there was one place the original names remained. This edit fixes that.
Jan
4
comment Haskell Expression Equivalents
Thank you, this was the tip off I needed to understand. The other bit that I was missing is that <- is not just an assignment, it strips the Monad and returns the underlying type, so x <- y then foo x is not equivalent to foo y. I appreciate the comprehensive answer, Rein.
Jan
4
accepted Haskell Expression Equivalents
Jan
4
revised Haskell Expression Equivalents
added 10 characters in body
Jan
4
asked Haskell Expression Equivalents
Dec
12
comment Regex for quoted string with escaping quotes
But fails with "\\"
Dec
10
awarded Notable Question
Nov
29
comment How to change the opacity (alpha, transparency) of an element in a canvas element after it has been drawn?
@Grumpy - no, globalAlpha doesn't blur anything. It will set the alpha for all subsequent drawing (it doesn't change anything already drawn), which is why in the example code I wrap it in save and restore, to limit what it applies to.
Oct
22
awarded Yearling
Oct
22
awarded Yearling
Sep
25
answered Extracting part of a match in a makefile rule
Sep
22
comment Extracting part of a match in a makefile rule
Thanks on all fronts Etan.
Sep
22
revised Extracting part of a match in a makefile rule
added 30 characters in body
Sep
22
comment Extracting part of a match in a makefile rule
Definitely was unclear about that snippet being 'obviously incorrect', thanks, I'll edit that. Okay. I tried every single option from your list, and $(*F) Seems to work, but I've no idea why I'd want the file-within-directory part of the stem, e.g. "foo" from "dir/foo.c" when I'm extracting "48" from "dir/logo_48.png" - it seemed logical I'd get "logo_48" in that case. Still it seems to work, though I don't know why.
Sep
22
comment Extracting part of a match in a makefile rule
Fascinating, but which of these matches this need, because none of them sound like they are answering this question? And, if you are aware of one of these meeting the question, why did you post the whole list, passive aggression?
Sep
22
comment Extracting part of a match in a makefile rule
@MadScientist Well, you clearly have some function in mind, but wouldn't it be simpler if you just said what it was. Because I read that page, and it wasn't clear which could be used to extract one wildcard out of a pattern match containing two wildcards.
1 2 3 4 5