Skip to content

Commit

Permalink
Ensure final new lines
Browse files Browse the repository at this point in the history
It's a shame that VS code cleanup doesn't actually do this
  • Loading branch information
ahmetsait committed May 13, 2024
1 parent 0a18503 commit 3dfaa6b
Show file tree
Hide file tree
Showing 74 changed files with 74 additions and 74 deletions.
2 changes: 1 addition & 1 deletion Scintilla.NET/Annotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ public enum Annotation
/// Annotations are indented to match the text.
/// </summary>
Indented = NativeMethods.ANNOTATION_INDENTED
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/AutoCSelectionEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ public AutoCSelectionEventArgs(Scintilla scintilla, int bytePosition, IntPtr tex
Char = ch;
ListCompletionMethod = listCompletionMethod;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/AutomaticFold.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ public enum AutomaticFold
/// Show lines as needed when the fold structure is changed.
/// </summary>
Change = NativeMethods.SC_AUTOMATICFOLD_CHANGE
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/BiDirectionalDisplayType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public enum BiDirectionalDisplayType
/// The bi-directional display type is right-to-left.
/// </summary>
RightToLeft = NativeMethods.SC_BIDIRECTIONAL_R2L
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/CallTipClickEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ public CallTipClickEventArgs(Scintilla scintilla, CallTipClickType callTipClickT
this.scintilla = scintilla;
CallTipClickType = callTipClickType;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/CallTipClickType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public enum CallTipClickType
/// The call tip down arrow was clicked.
/// </summary>
DownArrow = 2,
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/ChangeAnnotationEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ public ChangeAnnotationEventArgs(int line)
{
Line = line;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/CharAddedEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ public CharAddedEventArgs(int ch)
{
Char = ch;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/Command.cs
Original file line number Diff line number Diff line change
Expand Up @@ -577,4 +577,4 @@ public enum Command
/// Command equivalent to <see cref="Scintilla.SelectAll" />
/// </summary>
SelectAll = NativeMethods.SCI_SELECTALL
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/CopyFormat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ public enum CopyFormat
/// Copies text to the clipboard in HyperText Markup Language (HTML) format.
/// </summary>
Html = 1 << 2
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/Document.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ public override int GetHashCode()
{
return a.Value != b.Value;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/DoubleClickEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ public DoubleClickEventArgs(Scintilla scintilla, Keys modifiers, int bytePositio
if (bytePosition == -1)
this.position = -1;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/DwellEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ public DwellEventArgs(Scintilla scintilla, int bytePosition, int x, int y)
if (bytePosition < 0)
this.position = bytePosition;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/EdgeMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ public enum EdgeMode
/// </summary>
/// <remarks><see cref="Line" /> and <see cref="Scintilla.EdgeColumn" /> are completely independant of this mode.</remarks>
MultiLine = NativeMethods.EDGE_MULTILINE
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/Eol.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public enum Eol
/// Line Feed '\n' (0x0A).
/// </summary>
Lf = NativeMethods.SC_EOL_LF
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/FoldAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public enum FoldAction
/// Toggle between contracted and expanded.
/// </summary>
Toggle = NativeMethods.SC_FOLDACTION_TOGGLE
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/FoldDisplayText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public enum FoldDisplayText
/// Display the text tags with a box drawn around them.
/// </summary>
Boxed = NativeMethods.SC_FOLDDISPLAYTEXT_BOXED
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/FoldFlags.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ public enum FoldFlags
/// cannot be used at the same time as the <see cref="LevelNumbers" /> flag.
/// </summary>
LineState = NativeMethods.SC_FOLDFLAG_LINESTATE
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/FoldLevelFlags.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ public enum FoldLevelFlags
/// Indicates that the line is a header (fold point).
/// </summary>
Header = NativeMethods.SC_FOLDLEVELHEADERFLAG
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/FontQuality.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ public enum FontQuality
/// Specifies that ClearType anti-aliasing should be used when rendering text, if the font supports it.
/// </summary>
LcdOptimized = NativeMethods.SC_EFF_QUALITY_LCD_OPTIMIZED
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/GapBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,4 @@ public GapBuffer(int capacity = 0)
this.buffer = new T[capacity];
this.gapEnd = this.buffer.Length;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/Helpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1282,4 +1282,4 @@ private struct StyleData
}

#endregion Types
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/HotspotClickEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ public HotspotClickEventArgs(Scintilla scintilla, Keys modifiers, int bytePositi
this.bytePosition = bytePosition;
Modifiers = modifiers;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/ILoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ public interface ILoader
/// A return value of 0 indicates that the document has been destroyed and all associated memory released.
/// </returns>
int Release();
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/IdleStyling.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ public enum IdleStyling
/// This is a combination of <see cref="ToVisible" /> and <see cref="AfterVisible" />.
/// </summary>
All = NativeMethods.SC_IDLESTYLING_ALL
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/IndentView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ public enum IndentView
/// This setting is good for most languages.
/// </summary>
LookBoth = NativeMethods.SC_IV_LOOKBOTH
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/Indicator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -270,4 +270,4 @@ public Indicator(Scintilla scintilla, int index)
}

#endregion Constructors
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/IndicatorClickEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ public IndicatorClickEventArgs(Scintilla scintilla, Keys modifiers, int bytePosi
{
Modifiers = modifiers;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/IndicatorFlags.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ public enum IndicatorFlags
/// an indicator to display more than one color.
/// </summary>
ValueFore = NativeMethods.SC_INDICFLAG_VALUEFORE
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/IndicatorReleaseEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ public IndicatorReleaseEventArgs(Scintilla scintilla, int bytePosition)
this.scintilla = scintilla;
this.bytePosition = bytePosition;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/InsertCheckEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ public InsertCheckEventArgs(Scintilla scintilla, int bytePosition, int byteLengt
this.byteLength = byteLength;
this.textPtr = text;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/Lexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,4 @@ public enum Lexer
/// Lexer for Yaml
/// </summary>
SCLEX_YAML,
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/LineCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -568,4 +568,4 @@ private enum ContainsMultibyte
}

#endregion Types
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/LineEndType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ public enum LineEndType
/// Unicode line endings. Next Line (0x0085); Line Separator (0x2028); Paragraph Separator (0x2029).
/// </summary>
Unicode = NativeMethods.SC_LINE_END_TYPE_UNICODE
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/ListCompletionMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ public enum ListCompletionMethod
/// The <see cref="Scintilla.AutoCSelect" /> method triggered the completion.
/// </summary>
Command = NativeMethods.SC_AC_COMMAND
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/Loader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ public unsafe Loader(IntPtr ptr, Encoding encoding)
else
this.loader64 = (NativeMethods.ILoaderVTable64)Marshal.PtrToStructure(vfptr, typeof(NativeMethods.ILoaderVTable64));
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/Margin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,4 @@ public Margin(Scintilla scintilla, int index)
}

#endregion Constructors
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/MarginClickEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ public MarginClickEventArgs(Scintilla scintilla, Keys modifiers, int bytePositio
Modifiers = modifiers;
Margin = margin;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/MarginCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,4 @@ public MarginCollection(Scintilla scintilla)
{
this.scintilla = scintilla;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/MarginCursor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ public enum MarginCursor
/// A reversed arrow.
/// </summary>
ReverseArrow = NativeMethods.SC_CURSORREVERSEARROW
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/MarginOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ public enum MarginOptions
/// Lines selected by clicking on the margin will select only the subline of wrapped text.
/// </summary>
SublineSelect = NativeMethods.SC_MARGINOPTION_SUBLINESELECT
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/MarginType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ public enum MarginType
/// Margin can display symbols and has a background color specified using the <see cref="Margin.BackColor" /> property.
/// </summary>
Color = NativeMethods.SC_MARGIN_COLOUR
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/MarkerCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ public MarkerCollection(Scintilla scintilla)
{
this.scintilla = scintilla;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/MarkerHandle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ public override int GetHashCode()
{
return a.Value != b.Value;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/ModificationEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ public ModificationEventArgs(Scintilla scintilla, ModificationSource source, int

LinesAdded = linesAdded;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/ModificationSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public enum ModificationSource
/// Modification is the result of a redo operation.
/// </summary>
Redo = NativeMethods.SC_PERFORMED_REDO
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/MultiPaste.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ public enum MultiPaste
/// Pasting into multiple selections pastes into each selection.
/// </summary>
Each = NativeMethods.SC_MULTIPASTE_EACH
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/NativeMemoryStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ public NativeMemoryStream(int capacity)
}

#endregion Constructors
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/NeedShownEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ public NeedShownEventArgs(Scintilla scintilla, int bytePosition, int byteLength)
this.bytePosition = bytePosition;
this.byteLength = byteLength;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/Order.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public enum Order
/// User-defined order.
/// </summary>
Custom = NativeMethods.SC_ORDER_CUSTOM
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/Phases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ public enum Phases
/// extreme ascenders and descenders to overflow into adjacent lines.
/// </summary>
Multiple = NativeMethods.SC_PHASES_MULTIPLE
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/PopupMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ public enum PopupMode
/// <remarks>To receive the <see cref="Scintilla.MarginRightClick" /> event, this value must be used.</remarks>
/// <seealso cref="Scintilla.MarginRightClick" />
Text = NativeMethods.SC_POPUP_TEXT
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/ProjectionEqualityComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ public int GetHashCode(TSource obj)

return this.comparer.GetHashCode(this.projection(obj));
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/PropertyType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public enum PropertyType
/// A string property.
/// </summary>
String = NativeMethods.SC_TYPE_STRING
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/SCNotificationEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ public SCNotificationEventArgs(NativeMethods.SCNotification scn)
{
SCNotification = scn;
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/ScintillaReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,4 @@ private void BufferNextRegion()
this._data = null;
}
}
}
}
2 changes: 1 addition & 1 deletion Scintilla.NET/SearchFlags.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ public enum SearchFlags
/// Regular expressions will only match ranges within a single line, never matching over multiple lines.
/// </summary>
Cxx11Regex = NativeMethods.SCFIND_CXX11REGEX
}
}
Loading

0 comments on commit 3dfaa6b

Please sign in to comment.