TextStudio Bugs
===============
History: 2010-01-28 -> 2010-03-22 -> 2010-06-11 -> 2010-09-30


Keyboard Handler
----------------
* Done: Shift+Alt+S when focus is in Find/Replace Panel should Save All but does Find Previous instead.
* Done: Ctrl+Number in Find/Replace Panel.
* Done: Ctrl+Number in Go To Line.
* Ctrl+H should add selected text to Replace box and put focus there.
* Done: File > Exit always works from Ctrl+Shift+W.
* Done: File > Exit works from Ctrl+W when no files are open.
* Edit > Go To Line is working great!


Most Frequent Annoyances
------------------------
* Find/Replace Panel 
	* Alt+T shows then hides Apply To when focus is in panel.
	* Apply To list displays on primary monitor, even when TextStudio is on secondary monitor.
	* Recent Files form initially opened on primary monitor but is now on secondary.
	
* Format > HTML Entities:
	* Smart whitespace handling, like inline elements.
	* Example:
	  [[[Foo bar. "Baz quux quuz."]]]
	  Selecting this much:
	  [[[ "Baz quux quuz."]]]
	  And using "Speechmark" would produce this:
	  [[[ &ldquo;Baz quux quuz.&rdquo;]]]
	  At the moment, it produces this:
	  [[[&ldquo; Baz quux quuz.&rdquo;]]]
	  Would also help with newlines at the end of quotes.

* File handle sometimes remains open until TextStudio closes:
	* Prevents removing USB stick when saving this document!
	* Try to reproduce, maybe File.Close() is skipped along one code branch.

* Resizing:
	* Redraw the Sidebar when Go To Line is shown or hidden.

* Window positions:
	* Prevent window being moved back on-screen by operating system. Happens when Locking and returning.

* Editing files:
	* Deleting text doesn't say how much was deleted.
	* Double-click selection is weird when an apostrophe is at a word boundary. (Fine when within a word.)
	* Indent/Outdent pressing Tab, including selections.

* Done: Ctrl+F doesn't copy selected text into "Find" box when moving focus.

* Done: Alt+Key in Find/Replace Panel operates twice:
	* Raise a flag somewhere to prevent duplicating the event.
	* Command buttons must still work from mouse.
	* F3 and Shift+F3 work fine as they aren't access keys.

* Done: Infinite Loop:
	* Alt+N operates twice when focus is in Find/Replace panel; ok from files.
	* After using Apply To and selecting all files, match isn't found in current file and subsequently loops infinitely through selected files (or between selected matches?).

* Done: Find/Replace toolbar button gets desynchronised with panel.


Other Bugs & Ideas
------------------
* Status messages:
	* Remove most/all the "Ready" messages, so most recent result stays visible.

* Editing files:
	* Deleting text doesn't say how much was deleted.
	* Double-click selection is weird when an apostrophe is at a word boundary. (Fine when within a word.)
	* Indent/Outdent pressing Tab, including multiple line selections.

* HTML Forms:
	* Done: Rationalise attributes.
	* That was all?

* HTML Entities:
	* Add more?
	* I have a list somewhere?

* Conflict Detection:
	Done?

* Accidental closing of application:
	1. Start TextStudio
	2. Find/Replace Panel is open.
	3. Drag and drop 2 files to open them.
	4. Click into Replace box. (Doesn't happen in Find box?)
	5. Press Ctrl+W.
	6. Entire application closes!

* Focus order of windows:
	* Only after doing a lot within the application?
	* After a window is closed, switches by history instead of by order.
	* After doing Replace All in one individual file after another, Ctrl+Tab moves to previous file.
	* Reproducible when Find Panel has focus, tabbing between files just goes weird.

* Lists:
	* _R_everse Order:
		* Grouping need not remain intact because I've only wanted to reverse continuous selections.
		* Swap first with last, 2nd with penultimate...until midpoint is reached. (Don't swap with self.)