Welcome to MSDN Blogs Sign in | Join | Help

Donkblog

Adventures into the world of amateurgramming. I'll leave the programming to the professionals.
Why doesn’t Windows Live Writer have ‘find and replace’?

One of the most requested features of Windows Live Writer is ‘find and replace’.  This is the ability to quickly change one string to another string in a document.  Its found in the most complex programs like Visual Studio and Microsoft Word as well as the most simple programs like Notepad(as seen below).

image

So why doesn't a fully functional blog editing client like Windows Live Writer have this feature?

Its all about trade offs.  Every feature takes a certain amount of time create and test before it can be included into a product.  And in the case of Windows Live Writer, which uses Internet Explorer to create the WYSIWYG editor, there was already a free  way to get find by itself.  Internet Explorer provides find functionality to applications that host mshtml through IDM_FIND.  So the decision came down to whether or not the team should replace the find functionality IE gives for free with our own version that does find and replace.  I wasn’t on the Windows Live Writer team when this decision came up, as I’m sure it was many moons ago, so I can’t speak about any details of that conversation.  However, I can tell you, that through Twitter, blog posts, and our forums we have heard a lot of customers tell us that we made the wrong decision; enough that we are going to revisit the decision for our future releases. 

Thank you to everyone that gave their feedback on this issue and others! It is greatly appreciated and gives us a greater idea of our users' needs.

Posted: Thursday, April 16, 2009 2:22 PM by Brandon Turner
Filed under:

Comments

Geoffrey Emery said:

I am confused on this logic. It seems to me that if Word or IE have this functionality already that there should be some library or at least some code for this lieing around some where..

# May 5, 2009 3:13 PM

Brandon Turner said:

That is kind of the problem.  IE has a library that offers us tons of functionality that lets do all kinds of stuff, however, it doesn't offer use "Find and Replace".  Word might have some code to do find and replace, but chances are it doesn't work with the mshtml library Internet Explorer is providing us.

# May 5, 2009 5:53 PM

Joe Cheng [MSFT] said:

Also worth noting that in plain text editors like Notepad, Find/Replace is a trivial problem--less so when you're dealing with a live HTML DOM, as the text you're trying to find may span element boundaries.

# May 12, 2009 2:57 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker