Browse Source

Removed unused import statements.

Messages now use resource strings.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3328 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Justin Dearing 17 years ago
parent
commit
77791f1f58
  1. BIN
      data/resources/StringResources.es-mx.resources
  2. BIN
      data/resources/StringResources.es.resources
  3. BIN
      data/resources/StringResources.nl.resources
  4. 3
      src/AddIns/DisplayBindings/HexEditor/Project/Src/Editor.cs
  5. 10
      src/AddIns/DisplayBindings/HexEditor/Project/Src/Util/BufferManager.cs
  6. 6
      src/AddIns/DisplayBindings/HexEditor/Project/Src/Util/Settings.cs
  7. 4
      src/AddIns/DisplayBindings/HexEditor/Project/Src/Util/UndoAction.cs
  8. 2
      src/AddIns/DisplayBindings/HexEditor/Project/Src/View/HexEditContainer.Designer.cs
  9. 3
      src/AddIns/DisplayBindings/HexEditor/Project/Src/View/HexEditContainer.cs
  10. 6
      src/AddIns/DisplayBindings/HexEditor/Project/Src/View/HexEditOptionsPanel.cs
  11. 1
      src/AddIns/DisplayBindings/HexEditor/Project/Src/View/HexEditView.cs
  12. BIN
      src/Main/StartUp/Project/Resources/StringResources.resources

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.

3
src/AddIns/DisplayBindings/HexEditor/Project/Src/Editor.cs

@ -13,11 +13,10 @@ using System.IO; @@ -13,11 +13,10 @@ using System.IO;
using System.Text;
using System.Windows.Forms;
using System.Xml;
//using System.Diagnostics;
using HexEditor.Util;
using ICSharpCode.SharpDevelop;
using HexEditor.Util;
//using HexEditor.Commands;
namespace HexEditor

10
src/AddIns/DisplayBindings/HexEditor/Project/Src/Util/BufferManager.cs

@ -7,16 +7,10 @@ @@ -7,16 +7,10 @@
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.ComponentModel;
using System.Threading;
using ICSharpCode.SharpDevelop;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop;
namespace HexEditor.Util
{
@ -68,7 +62,7 @@ namespace HexEditor.Util @@ -68,7 +62,7 @@ namespace HexEditor.Util
}
} while (count > 0);
} else {
MessageService.ShowError(new FileNotFoundException("The file " + currentFile.FileName + " doesn't exist!", currentFile.FileName), "The file " + currentFile.FileName + " doesn't exist!");
MessageService.ShowErrorFormatted("${res:Fileutility.CantFindFileError}", currentFile.FileName);
}
this.parent.Invalidate();

6
src/AddIns/DisplayBindings/HexEditor/Project/Src/Util/Settings.cs

@ -6,8 +6,8 @@ @@ -6,8 +6,8 @@
// </file>
using System;
using System.Xml;
using System.Drawing;
using System.Xml;
namespace HexEditor.Util
{
@ -24,10 +24,6 @@ namespace HexEditor.Util @@ -24,10 +24,6 @@ namespace HexEditor.Util
ViewMode viewMode;
string[] fileTypes;
public Settings()
{
}
public static Settings FromXML(XmlDocument document)
{
Settings settings = new Settings();

4
src/AddIns/DisplayBindings/HexEditor/Project/Src/Util/UndoAction.cs

@ -14,6 +14,8 @@ namespace HexEditor.Util @@ -14,6 +14,8 @@ namespace HexEditor.Util
/// </summary>
public enum UndoAction
{
Insert, Remove, Overwrite
Insert,
Remove,
Overwrite
}
}

2
src/AddIns/DisplayBindings/HexEditor/Project/Src/View/HexEditContainer.Designer.cs generated

@ -57,7 +57,7 @@ namespace HexEditor.View @@ -57,7 +57,7 @@ namespace HexEditor.View
this.tbSizeToFit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tbSizeToFit.Name = "tbSizeToFit";
this.tbSizeToFit.Size = new System.Drawing.Size(23, 22);
this.tbSizeToFit.Text = "Resize to fit current width";
this.tbSizeToFit.Text = "${res:AddIns.HexEditor.SizeToFit}";
this.tbSizeToFit.Click += new System.EventHandler(this.TbSizeToFitClick);
//
// toolStripSeparator1

3
src/AddIns/DisplayBindings/HexEditor/Project/Src/View/HexEditContainer.cs

@ -10,6 +10,7 @@ using System.IO; @@ -10,6 +10,7 @@ using System.IO;
using System.Windows.Forms;
using HexEditor.Util;
using ICSharpCode.Core;
using ICSharpCode.Core.WinForms;
using ICSharpCode.SharpDevelop;
@ -37,6 +38,8 @@ namespace HexEditor.View @@ -37,6 +38,8 @@ namespace HexEditor.View
{
InitializeComponent();
tbSizeToFit.Text = StringParser.Parse(tbSizeToFit.Text);
ToolStripControlHost bytesPerLine = new ToolStripControlHost(tSTBCharsPerLine);
this.toolStrip1.Items.Insert(1, bytesPerLine);

6
src/AddIns/DisplayBindings/HexEditor/Project/Src/View/HexEditOptionsPanel.cs

@ -6,12 +6,10 @@ @@ -6,12 +6,10 @@
// </file>
using System;
using System.Windows.Forms;
using System.Xml.Serialization;
using System.Drawing;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using System.Xml;
using ICSharpCode.Core;

1
src/AddIns/DisplayBindings/HexEditor/Project/Src/View/HexEditView.cs

@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
using System;
using System.IO;
using ICSharpCode.Core.WinForms;
using ICSharpCode.SharpDevelop;
using ICSharpCode.SharpDevelop.Gui;

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

Binary file not shown.
Loading…
Cancel
Save