[MonoDevelop] Small patch to allow separate control charater higlighting

Jacob Ilsø Christensen jacobilsoe at gmail.com
Sun Jul 1 14:31:41 EDT 2007


Hi.

I was about to commit your patch and wanted to try it out first. I
found two issues:

* After applying your patch MonoDevelop suddenly shows control
characters even though I have disabled it in the preferences
* I tried to change it in Edit/Preferences/Text Editor/Markers and
Rulers but got an exception:

Exception occurred: Object reference not set to an instance of an object

System.NullReferenceException: Object reference not set to an instance
of an object
  at MonoDevelop.SourceEditor.Gui.OptionPanels.MarkersTextEditorPanel+MarkersTextEditorPanelWidget..ctor
() [0x00070] in
/home/jacobilsoe/Mono/monodevelop/Extras/MonoDevelop.SourceEditor/MonoDevelop.SourceEditor.Gui.OptionPanels/MarkersTextEditorPanel.cs:68
  at MonoDevelop.SourceEditor.Gui.OptionPanels.MarkersTextEditorPanel.LoadPanelContents
() [0x00000] in
/home/jacobilsoe/Mono/monodevelop/Extras/MonoDevelop.SourceEditor/MonoDevelop.SourceEditor.Gui.OptionPanels/MarkersTextEditorPanel.cs:34
  at MonoDevelop.Core.Gui.Dialogs.AbstractOptionPanel.ReceiveDialogMessage
(DialogMessage message) [0x00020] in
/home/jacobilsoe/Mono/monodevelop/Core/src/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui.Dialogs/AbstractOptionPanel.cs:72

Could you look at that please?

Regards,
Jacob

On 6/24/07, Fabian Sturm <f at rtfs.org> wrote:
> Dear monodevelopers!
>
> This is a small patch to allow the separate highlighting of control
> characters. It's based on Revision 80598 from 23.06.2007.
>
> The rational behind this patch is, that when I edit source code I want
> to see the tabs with special highlighting but not spaces and newlines.
> This allows me to identify indentation errors where tabs and spaces are
> mixed. But if I enable "ShowControlCharacters" I am flooded with too
> many charaters being highlighted.
>
> So please tell me if you like a patch like this.
> Looking forward to get this integrated,
>
> thanks Fabian
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
>


More information about the Monodevelop-list mailing list