Bug 314798 (MONO58789) - Indentation in SourceEditorView.cs works improperly
Summary: Indentation in SourceEditorView.cs works improperly
Status: RESOLVED FIXED
Alias: MONO58789
Product: MonoDevelop
Classification: Mono
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: MD Bugs
QA Contact: MD Bugs
URL:
Whiteboard:
Keywords: easy_fix
Depends on:
Blocks:
 
Reported: 2004-05-21 12:40 UTC by Gustav Munkby
Modified: 2007-09-15 21:23 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Fixed both issues in SourceEditorView.cs (This was done against r1600) (990 bytes, patch)
2004-05-21 12:44 UTC, Thomas Wiest
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:38:48 UTC


---- Reported by grddev@gmx.net 2004-05-21 05:40:12 MST ----

There are two issues:

Indenting to many lines:
If I select multiple lines, by positioning on the first char of the line,
and press shift, and press downwards n times, to select n lines, I in fact
select n+1 lines, since the first char of the following line is selected.

Adding spaces to empty lines:
When indenting a block as per the specification above, if one of the lines
is empty, a tab or a series of spaces is added to that line. I can't think
of any scenario where I would want this to what happens. The more useful
scenario would be if those lines were skipped.



---- Additional Comments From grddev@gmx.net 2004-05-21 05:44:50 MST ----

Created an attachment (id=166069)
Fixed both issues in SourceEditorView.cs (This was done against r1600)




---- Additional Comments From tberman@gentoo.org 2004-05-22 02:05:59 MST ----

thanks for the patch, this has been applied to svn :)

Imported an attachment (id=166069)

Unknown bug field "cf_version_details" encountered while moving bug
   <cf_version_details>r1600</cf_version_details>