User talk:Asqueella

From MozillaZine Knowledge Base
Revision as of 20:41, 24 May 2007 by Asqueella (talk | contribs) (→‎[[Inserting text at cursor]])
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The new "Knowledge Base changes" article


As a regular contributor to the Knowledge Base, I thought you'd like to know about a new page I've created: Knowledge Base changes. The purpose of the page is explained in that article, but in summary I think it would be a good central place for existing editors to discuss potentially controversial changes to the KB, and for new editors to propose changes before implementing them. Any feedback will be gratefully received on the talk page for that article, or on my user talk page!

Best wishes, --Mozcerize 13:03, 2 January 2006 (UTC)

Me and my crazy moving stuff to devmo

I've made a template so that people will have a chance to say "hey, there's stuff missing" before I replace the development articles here. See JavaScript coding guidelines and Localize extension descriptions--Np 22:54, 31 August 2006 (UTC)

Yep, a good idea, but all I really need is that you check the contents of the page you're blanking before blanking it. Thanks. --asqueella 16:57, 3 September 2006 (UTC)


You're the sole author of nsIWindowMediator. Do I have your permission to move its contents to MDC? (You can do it yourself, if you like).--Np 19:59, 18 September 2006 (UTC)

Sure, I'd appreciate it. You can move anything I wrote to MDC. --asqueella 20:13, 19 September 2006 (UTC)

Inserting text at cursor

What's the functional difference between the code posted there and this (which I use in Stylish):

function insertCodeAtCaret(snippet) {
	var selectionEnd = codeElement.selectionStart + snippet.length;
	codeElement.value = codeElement.value.substring(0, codeElement.selectionStart) + snippet + codeElement.value.substring(codeElement.selectionEnd, codeElement.value.length);
	codeElement.setSelectionRange(selectionEnd, selectionEnd);

--Np 17:58, 24 May 2007 (UTC)

I dunno, ask in the newsgroups. There shouldn't be any now. Earlier assigning to .value would clear the editor's transaction list, but that was fixed a while ago.
FWIW, I don't think I wrote that snippet you're referring to, I probably just moved it from another location. --asqueella 20:41, 24 May 2007 (UTC)