Victor García Aprea

Go Back to
vga′s Latest post

VS: simply things which are incredibly hard

There are some very clear examples out there about what I mean when I talk about VS obscurity being a major pain for getting people extending the platform and trying to make my dream come true.

As a rule of thumb people should know that if demostrating incredibly basics things takes you more than a few words and a trivial code snippet then most probably something is wrong.

There is a post by Dr. Ex on how to detect when a toolwindow is closing, it’s 52 paragraph and 509 words in length, pretty lengthly, ugh?

What this should have been instead?

mytoolwindow.Hide +=  new EventHander(hide_handler);

There is another post from Sara Ford that touches how to insert some text in the editor, it’s 20 paragraphs and 300 words in length. If you have the estomatch to go throught it you will notice all sort of crazy stuff like you having to do your own memory managament (flashback to 1978!):

IntPtr pText = Marshal.StringToCoTaskMemAuto(text);



      textLines.ReplaceLines(0, 0, endLine, endCol, pText, len, null);






What this should have been instead?

myeditor.Text = “foo”;

Luckily enough both, Dr. Ex and Sara, write their posts with a salt of humor which I don't think it's a coincidence but a technique for trying to eliminate the idea of suicide from their weblog readers while they're reading.

I'm fine with their approach as long as they understand that there isn't really anything funny about it and that this really, really, really begs for a change sooner than later.



  1. Right here is the right website for everyone who wants to understand this topic. You know a whole lot its almost tough to argue with you (not that I actually would want to…HaHa). You certainly put a brand new spin on a topic which has been written about for years. Excellent stuff, just wonderful.

  2. bonjour je suis un étudiante de la france j’ai mieux aimer votre implacable site et les couleurs bien sur l’article la site . Véritablement je vous remercie pour l’administrateur de ce web pages

  3. Tre 7 Thang May Can Thoi Trang do Bo Nu Phu Nu Ngoai Tinh

  4. Greetings! I know this is kinda off topic but I was wondering which blog platform are you using for this website? I’m getting fed up of WordPress because I’ve had issues with hackers and I’m looking at options for another platform. I would be great if you could point me in the direction of a good platform.

  5. whoah this blog is magnificent i like studying your articles. Stay up the good paintings! You know, many persons are looking round for this information, you can help them greatly.

  6. In purchase to be presentable, all males require to do is shower and scent good. These postures are not just poses or the types that you may have seen elderly Chinese people practicing in parks.

  7. There are actually lots of particulars like that to take into consideration. That may be a nice level to bring up. I offer the ideas above as general inspiration but clearly there are questions like the one you convey up the place a very powerful thing will likely be working in honest good faith. I don?t know if finest practices have emerged around issues like that, but I am positive that your job is clearly recognized as a good game. Both girls and boys feel the impact of only a second’s pleasure, for the rest of their lives.