Browse Source

Added show caret line option to Markers and Rulers options panel.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3593 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 17 years ago
parent
commit
557e322065
  1. BIN
      data/resources/StringResources.de.resources
  2. BIN
      data/resources/StringResources.es-mx.resources
  3. BIN
      data/resources/StringResources.es.resources
  4. BIN
      data/resources/StringResources.nl.resources
  5. 95
      src/Main/Base/Project/Resources/MarkersTextEditorPanel.xfrm
  6. 2
      src/Main/Base/Project/Src/TextEditor/Gui/OptionPanels/MarkersTextEditorPanel.cs
  7. BIN
      src/Main/StartUp/Project/Resources/StringResources.resources

BIN
data/resources/StringResources.de.resources

Binary file not shown.

BIN
data/resources/StringResources.es-mx.resources

Binary file not shown.

BIN
data/resources/StringResources.es.resources

Binary file not shown.

BIN
data/resources/StringResources.nl.resources

Binary file not shown.

95
src/Main/Base/Project/Resources/MarkersTextEditorPanel.xfrm

@ -1,128 +1,133 @@
<Components version="1.0"> <Components version="1.0">
<System.Windows.Forms.UserControl> <System.Windows.Forms.UserControl>
<Name value="CreatedObject0" /> <Name value="CreatedObject0" />
<DockPadding value="" />
<ClientSize value="{Width=408, Height=328}" /> <ClientSize value="{Width=408, Height=328}" />
<Controls> <Controls>
<System.Windows.Forms.GroupBox> <System.Windows.Forms.GroupBox>
<Name value="CreatedObject2" /> <Name value="CreatedObject2" />
<TabIndex value="0" /> <Location value="8, 8" />
<Location value="{X=8,Y=8}" />
<Anchor value="Top, Left, Right" />
<Size value="{Width=392, Height=304}" />
<Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.MarkersGroupBox}" /> <Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.MarkersGroupBox}" />
<Size value="392, 308" />
<Anchor value="Top, Left, Right" />
<TabIndex value="0" />
<Controls> <Controls>
<System.Windows.Forms.CheckBox>
<Name value="showCaretLineCheckBox" />
<Location value="8, 68" />
<Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.CaretCheckBox}" />
<TabIndex value="14" />
<Size value="176, 24" />
</System.Windows.Forms.CheckBox>
<System.Windows.Forms.ComboBox> <System.Windows.Forms.ComboBox>
<Name value="bracketMatchingStyleComboBox" /> <Name value="bracketMatchingStyleComboBox" />
<Anchor value="Bottom, Right" />
<TabIndex value="9" /> <TabIndex value="9" />
<Location value="{X=226,Y=178}" /> <Location value="236, 186" />
<Size value="{Width=158, Height=21}" /> <Anchor value="Bottom, Right" />
<Size value="148, 21" />
<DropDownStyle value="DropDownList" /> <DropDownStyle value="DropDownList" />
</System.Windows.Forms.ComboBox> </System.Windows.Forms.ComboBox>
<System.Windows.Forms.ComboBox> <System.Windows.Forms.ComboBox>
<Name value="lineMarkerStyleComboBox" /> <Name value="lineMarkerStyleComboBox" />
<DropDownWidth value="168" />
<Anchor value="Top, Right" />
<TabIndex value="5" /> <TabIndex value="5" />
<Location value="{X=192,Y=93}" /> <Location value="192, 100" />
<Size value="{Width=188, Height=21}" /> <Anchor value="Top, Right" />
<Size value="188, 21" />
<DropDownStyle value="DropDownList" /> <DropDownStyle value="DropDownList" />
<DropDownWidth value="168" />
</System.Windows.Forms.ComboBox> </System.Windows.Forms.ComboBox>
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="showLineNumberCheckBox" /> <Name value="showLineNumberCheckBox" />
<Location value="{X=8,Y=131}" /> <Location value="8, 138" />
<Size value="{Width=376, Height=24}" />
<Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.LineNumberCheckBox}" /> <Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.LineNumberCheckBox}" />
<Anchor value="Top, Left, Right" />
<TabIndex value="6" /> <TabIndex value="6" />
<Size value="376, 24" />
<Anchor value="Top, Left, Right" />
</System.Windows.Forms.CheckBox> </System.Windows.Forms.CheckBox>
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="showErrorsCheckBox" /> <Name value="showErrorsCheckBox" />
<Location value="{X=8,Y=155}" /> <Location value="8, 162" />
<Size value="{Width=376, Height=24}" />
<Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.UnderLineErrorsCheckBox}" /> <Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.UnderLineErrorsCheckBox}" />
<Anchor value="Top, Left, Right" />
<TabIndex value="7" /> <TabIndex value="7" />
<Size value="376, 24" />
<Anchor value="Top, Left, Right" />
</System.Windows.Forms.CheckBox> </System.Windows.Forms.CheckBox>
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="showBracketHighlighterCheckBox" /> <Name value="showBracketHighlighterCheckBox" />
<Location value="{X=8,Y=179}" /> <Location value="8, 186" />
<Size value="{Width=228, Height=24}" />
<Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.HiglightBracketCheckBox}" /> <Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.HiglightBracketCheckBox}" />
<Anchor value="Top, Left, Right" />
<TabIndex value="8" /> <TabIndex value="8" />
<Size value="222, 24" />
<Anchor value="Top, Left, Right" />
</System.Windows.Forms.CheckBox> </System.Windows.Forms.CheckBox>
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="showInvalidLinesCheckBox" /> <Name value="showInvalidLinesCheckBox" />
<Location value="{X=8,Y=203}" /> <Location value="8, 210" />
<Size value="{Width=376, Height=24}" />
<Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.InvalidLinesCheckBox}" /> <Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.InvalidLinesCheckBox}" />
<Anchor value="Top, Left, Right" />
<TabIndex value="10" /> <TabIndex value="10" />
<Size value="376, 24" />
<Anchor value="Top, Left, Right" />
</System.Windows.Forms.CheckBox> </System.Windows.Forms.CheckBox>
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="showHRulerCheckBox" /> <Name value="showHRulerCheckBox" />
<Location value="{X=8,Y=16}" /> <Location value="8, 16" />
<Size value="{Width=176, Height=24}" />
<Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.HorizontalRulerCheckBox}" /> <Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.HorizontalRulerCheckBox}" />
<TabIndex value="0" /> <TabIndex value="0" />
<Size value="176, 24" />
</System.Windows.Forms.CheckBox> </System.Windows.Forms.CheckBox>
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="showEOLMarkersCheckBox" /> <Name value="showEOLMarkersCheckBox" />
<Location value="{X=8,Y=227}" /> <Location value="8, 234" />
<Size value="{Width=376, Height=24}" />
<Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.EOLMarkersCheckBox}" /> <Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.EOLMarkersCheckBox}" />
<Anchor value="Top, Left, Right" />
<TabIndex value="11" /> <TabIndex value="11" />
<Size value="376, 24" />
<Anchor value="Top, Left, Right" />
</System.Windows.Forms.CheckBox> </System.Windows.Forms.CheckBox>
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="showVRulerCheckBox" /> <Name value="showVRulerCheckBox" />
<Location value="{X=8,Y=42}" /> <Location value="8, 42" />
<Size value="{Width=176, Height=24}" />
<Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.VerticalRulerCheckBox}" /> <Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.VerticalRulerCheckBox}" />
<TabIndex value="1" /> <TabIndex value="1" />
<Size value="176, 24" />
</System.Windows.Forms.CheckBox> </System.Windows.Forms.CheckBox>
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="showTabCharsCheckBox" /> <Name value="showTabCharsCheckBox" />
<Location value="{X=8,Y=275}" /> <Location value="8, 282" />
<Size value="{Width=376, Height=24}" />
<Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.TabsCheckBox}" /> <Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.TabsCheckBox}" />
<Anchor value="Top, Left, Right" />
<TabIndex value="13" /> <TabIndex value="13" />
<Size value="376, 24" />
<Anchor value="Top, Left, Right" />
</System.Windows.Forms.CheckBox> </System.Windows.Forms.CheckBox>
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="showSpaceCharsCheckBox" /> <Name value="showSpaceCharsCheckBox" />
<Location value="{X=8,Y=251}" /> <Location value="8, 258" />
<Size value="{Width=376, Height=24}" />
<Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.SpacesCheckBox}" /> <Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.SpacesCheckBox}" />
<Anchor value="Top, Left, Right" />
<TabIndex value="12" /> <TabIndex value="12" />
<Size value="376, 24" />
<Anchor value="Top, Left, Right" />
</System.Windows.Forms.CheckBox> </System.Windows.Forms.CheckBox>
<System.Windows.Forms.Label> <System.Windows.Forms.Label>
<Name value="CreatedObject23" /> <Name value="CreatedObject23" />
<Location value="208, 44" />
<Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.AtRowLabel}" /> <Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.AtRowLabel}" />
<Size value="104, 24" />
<TextAlign value="MiddleRight" /> <TextAlign value="MiddleRight" />
<Anchor value="Top, Right" /> <Anchor value="Top, Right" />
<TabIndex value="2" /> <TabIndex value="2" />
<Size value="{Width=104, Height=24}" />
<Location value="{X=208,Y=44}" />
</System.Windows.Forms.Label> </System.Windows.Forms.Label>
<System.Windows.Forms.TextBox> <System.Windows.Forms.TextBox>
<Name value="vRulerRowTextBox" /> <Name value="vRulerRowTextBox" />
<Anchor value="Top, Right" />
<TabIndex value="3" /> <TabIndex value="3" />
<Location value="{X=312,Y=42}" /> <Location value="312, 43" />
<Size value="{Width=64, Height=21}" /> <Anchor value="Top, Right" />
<Text value="" /> <Size value="64, 20" />
</System.Windows.Forms.TextBox> </System.Windows.Forms.TextBox>
<System.Windows.Forms.Label> <System.Windows.Forms.Label>
<Name value="CreatedObject28" /> <Name value="CreatedObject28" />
<Location value="8, 95" />
<Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.LineMarkerLabel}" /> <Text value="${res:Dialog.Options.IDEOptions.TextEditor.Markers.LineMarkerLabel}" />
<Size value="152, 24" />
<TextAlign value="MiddleLeft" /> <TextAlign value="MiddleLeft" />
<TabIndex value="4" /> <TabIndex value="4" />
<Size value="{Width=152, Height=24}" />
<Location value="{X=8,Y=88}" />
</System.Windows.Forms.Label> </System.Windows.Forms.Label>
</Controls> </Controls>
</System.Windows.Forms.GroupBox> </System.Windows.Forms.GroupBox>

2
src/Main/Base/Project/Src/TextEditor/Gui/OptionPanels/MarkersTextEditorPanel.cs

@ -34,6 +34,7 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.OptionPanels
((CheckBox)ControlDictionary["showVRulerCheckBox"]).Checked = properties.ShowVerticalRuler; ((CheckBox)ControlDictionary["showVRulerCheckBox"]).Checked = properties.ShowVerticalRuler;
((CheckBox)ControlDictionary["showTabCharsCheckBox"]).Checked = properties.ShowTabs; ((CheckBox)ControlDictionary["showTabCharsCheckBox"]).Checked = properties.ShowTabs;
((CheckBox)ControlDictionary["showSpaceCharsCheckBox"]).Checked = properties.ShowSpaces; ((CheckBox)ControlDictionary["showSpaceCharsCheckBox"]).Checked = properties.ShowSpaces;
((CheckBox)ControlDictionary["showCaretLineCheckBox"]).Checked = properties.CaretLine;
ControlDictionary["vRulerRowTextBox"].Text = properties.VerticalRulerRow.ToString(); ControlDictionary["vRulerRowTextBox"].Text = properties.VerticalRulerRow.ToString();
@ -61,6 +62,7 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.OptionPanels
properties.ShowVerticalRuler = ((CheckBox)ControlDictionary["showVRulerCheckBox"]).Checked; properties.ShowVerticalRuler = ((CheckBox)ControlDictionary["showVRulerCheckBox"]).Checked;
properties.ShowTabs = ((CheckBox)ControlDictionary["showTabCharsCheckBox"]).Checked; properties.ShowTabs = ((CheckBox)ControlDictionary["showTabCharsCheckBox"]).Checked;
properties.ShowSpaces = ((CheckBox)ControlDictionary["showSpaceCharsCheckBox"]).Checked; properties.ShowSpaces = ((CheckBox)ControlDictionary["showSpaceCharsCheckBox"]).Checked;
properties.CaretLine = ((CheckBox)ControlDictionary["showCaretLineCheckBox"]).Checked;
try { try {
properties.VerticalRulerRow = Int32.Parse(ControlDictionary["vRulerRowTextBox"].Text); properties.VerticalRulerRow = Int32.Parse(ControlDictionary["vRulerRowTextBox"].Text);

BIN
src/Main/StartUp/Project/Resources/StringResources.resources

Binary file not shown.
Loading…
Cancel
Save