|
In MonoDevelop (linux version), ctrl+backspace clears all the linebreaks till the last word/char block, and delete that.
For example:
qwe asd . . . _
(where _ is my cursor focus is on, and . are line breaks, pressing ctrl+backspace will return me this...
Started by nubela on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The work breaking logic is ....
See how on same page ...
Try to locate wrong code on you own and contribute patch .
Because MonoDevelop is freeware opensource project you can:
Report a bug (see this link for details) and wait for development team respose .
|
|
I need some help with regex:
I got a html output and I need to wrap all the registration trademarks with a <sup></sup>
I can not insert the <sup> tag in title and alt properties and obviously I don't need to wrap regs that are already...
Started by Wil on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
asd [2] => <sup>®</sup> [3] => asd [4] => <img alt="qwe®qwe" />/sup> asdasd....
Sup>®</sup>asd <img alt="qwe®qwe" /></div>'; // we need to capture; asdasd.
|
|
Hello,
I'm parsing a source code file, and I want to remove all line comments (i.e. starting with "//") and multi-line comments (i.e. / .... /). However, if the multi-line comment has at least one line-break in it (\n), I want the output to have exactly...
Started by Rax Olgud on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Is this what you're looking for?
>>> print(s) qwe /* 123 456 789 */ asd >>> print(re.sub(r'\s*/\*.*\n.*\*/\s*', '\n', s, flags=re.S)) qwe asd
This will work only for those comments as the MULTILINE -flag is....
|
Ask your Facebook Friends
|
I wrote the code to get the element index
elemIndex :: [String] -> [String] -> [Int] elemIndex [] [] = [] elemIndex x y = elemIndex True [(elem a y) | a <- x ]
is there any alternative way/similer of performing the above logic?
and also i've ...
Started by pier on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Right now you recursively call it with ....
ElemIndex takes two arguments (two lists).
I don't understand what you want elemIndex to do.
Index [] _ = []
is the same as
index [] x = []
except you cannot use the _ on the right hand side of the equals sign .
|
|
I have a loop that builds up address fields, some of these fields may be empty at the end of the string
List<string> list = new List<string>(); //list can contain any number of values, some of which might be "" (empty string) string returnValue...
Started by astander on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
asd, aaa, qwe, 123123, somevalue
returnValue[]{"asd", "aaa", "....
More precisely if your output could look like:
asd, aaa, qwe, 123123 the fields then exclude the empties upfront.
The empty values in the first place.
|
|
I'm trying to figure out how to store external variable values in the functions created during jQuery's click() event. Here's a sample of the code I'm working with now.
for(var i=0; i<3; i++){ $('#tmpid'+i).click(function(){ var gid = i; alert(gid)...
Started by Geuis on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
For(var i=0; i<3; i++){ (function() { var....
The gid variable will then be assigned the value of i at the point that the closure was created rather than when the function is run .
You can create a closure and assign i to a local variable of the closure .
|
|
I have a DataGridView binded to this table:
[Users] ID Name -- ---- 11 Qwe 22 Asd
Grid is direclty binded to typed dataset table.
I have a second table like this:
[Records] ID UserID Data -- ---- 67 11 .... 68 11 ....
Records.UserID is connected to Users...
Started by Armagan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you are using DataSets/DataTables, then you can do something like this to filter your rows for the second grid:
string filter = String.Format("UserID = {0}", selectedUserId); grdRecords.DataSource = ds.Tables["Records"].Select(filter);
I believe you... .
|
|
I'm using codegear c++ builder 2007. I'm trying to read a string value with a path from the registry. This path can contain unicode characters, for example russian.
I have added a string value with regedit and verified by exporting that the value really...
Started by Björn on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Http://do-the-right-things.blogspot.com/2008/03/codegear-delphi-2006nets-tregistry.html
CodeGear Delphi 2006.Net's TRegistry fails in Framework 2 SP1
I don't know whether C++ 2007 is also affected, but if it is, maybe there is a patch available somewhere... .
|
|
I could have sworn I saw this posted here but can't find it for the life of me so it must have been on another hot deals forum.
Newegg has the Rosewill 104 key 'Gaming' keyboard for $15 minus $5 coupon for a grand total of $10 with FREE UPS ground shipping...
Started by Blue Falcon on
, 20 posts
by 15 people.
Answer Snippets (Read the full thread at hardforum):
For a second I thought it was a mechanical keyboard .
I never cleaned it this is a very fine keyboard for the money .
I think I might buy one just because the one i've been using is disgustingly filthy with food crumbs from over 10 yrs of use .
Thanks.
|
|
On Thu, 9 Jul 2009 19:01:18 +0200, "Robert K." <robertk@poczta.naOnecie.pl
Witam
Polegem na czym, co wydawao mi si proste :[
Mamy trzy kolumny. W pierwszej i drugiej s rniste cigi znakw (kody), w
trzeciej za wartoci liczbowe.
Jak wyliczy sum ...
Started by Robert K. on
, 7 posts
by 2 people.
Answer Snippets (Read the full thread at omgili):
Wyszo wic co w stylu:
{=SUMA(JEELI(A1:A100=H1;C1:C100;JEELI(B1:B100=H2;C1:C100;"")))}
Najpierw uparem si zastosowa....
On Thu, 9 Jul 2009 20:11:48 +0200, "Robert K." <robertk@poczta.naOnecie.pl
Nieaktualne :-)
Zrobiem, zagniedajc dwie funkcje JEELI w SUMA .
|