From cd955915a917460fa1431204a4820f94b7c6d16b Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Fri, 25 Jul 2014 18:30:55 +0400 Subject: [PATCH] Mark class names with monospace font. --- src/AddSpace.vala | 6 +++--- src/AddSpaces.vala | 6 +++--- src/Cell.vala | 6 +++--- src/ColParam.vala | 6 +++--- src/ColParams.vala | 2 +- src/DocIfaces.vala | 12 ++++++------ src/Glob.vala | 2 +- src/Graphics.vala | 6 +++--- src/Longtable.vala | 6 +++--- src/Row.vala | 36 ++++++++++++++++++------------------ src/Subtable.vala | 18 +++++++++--------- src/Table.vala | 4 ++-- src/Tabular.vala | 6 +++--- src/Text.vala | 6 +++--- 14 files changed, 61 insertions(+), 61 deletions(-) diff --git a/src/AddSpace.vala b/src/AddSpace.vala index 2fd6523..f06a258 100644 --- a/src/AddSpace.vala +++ b/src/AddSpace.vala @@ -16,7 +16,7 @@ namespace LAview { public string height = ""; /** - * Constructs a new //AddSpace// based on value. + * Constructs a new ``AddSpace`` based on value. * * @param height [0-9]+{bp,cc,cm,dd,em,ex,in,mm,pc,pt,sp} <
> * or [0-9]+.[0-9][0-9]{\textwidth,columnwidth,paperwidth,linewidth,textheight,paperheight} @@ -28,14 +28,14 @@ namespace LAview { private AddSpace () {} /** - * Gets a copy of the //AddSpace//. + * Gets a copy of the ``AddSpace``. */ public override IDoc copy () { return new AddSpace.with_params (height); } /** - * Generates LaTeX string for the //AddSpace//. + * Generates LaTeX string for the ``AddSpace``. */ public override string generate () { return height; diff --git a/src/AddSpaces.vala b/src/AddSpaces.vala index a471dab..088f19b 100644 --- a/src/AddSpaces.vala +++ b/src/AddSpaces.vala @@ -29,14 +29,14 @@ namespace LAview { public Style style = Style.DEFAULT; /** - * Constructs a new empty //AddSpaces//. + * Constructs a new empty ``AddSpaces``. */ public AddSpaces () {} protected override ADocList create_default_instance () { return new AddSpaces (); } /** - * Gets a copy of the //AddSpaces//. + * Gets a copy of the ``AddSpaces``. */ public override IDoc copy () { var clone = base.copy () as AddSpaces; @@ -45,7 +45,7 @@ namespace LAview { } /** - * Generates LaTeX string for the //AddSpaces//. + * Generates LaTeX string for the ``AddSpaces``. */ public override string generate () { var result = new StringBuilder (); diff --git a/src/Cell.vala b/src/Cell.vala index 94ba9ad..1b3ace7 100644 --- a/src/Cell.vala +++ b/src/Cell.vala @@ -97,7 +97,7 @@ namespace LAview { } /** - * Constructs a new //Cell// based on it's properties. + * Constructs a new ``Cell`` based on it's properties. */ public Cell.with_params (Multitype multitype, uint ncells, uint nllines, string align, uint nrlines, uint noverlines, uint nunderlines, @@ -117,7 +117,7 @@ namespace LAview { private Cell () {} /** - * Gets a copy of the //Cell//. + * Gets a copy of the ``Cell``. */ public override IDoc copy () { return new Cell.with_params (multitype, ncells, nllines, align, nrlines, @@ -125,7 +125,7 @@ namespace LAview { } /** - * Generates LaTeX string for the //Cell//. + * Generates LaTeX string for the ``Cell``. */ public override string generate () { var result = new StringBuilder (before), diff --git a/src/ColParam.vala b/src/ColParam.vala index 9eae593..687a176 100644 --- a/src/ColParam.vala +++ b/src/ColParam.vala @@ -25,7 +25,7 @@ namespace LAview { public uint nrlines; /** - * Constructs a new //ColParam// by it's properties. + * Constructs a new ``ColParam`` by it's properties. */ public ColParam.with_params (uint nllines = 1, string align = "c", @@ -38,14 +38,14 @@ namespace LAview { private ColParam () {} /** - * Gets a copy of the //ColParam//. + * Gets a copy of the ``ColParam``. */ public override IDoc copy () { return new ColParam.with_params (nllines, align, nrlines); } /** - * Generates LaTeX string for the //ColParam//. + * Generates LaTeX string for the ``ColParam``. */ public override string generate () { var result = new StringBuilder (); diff --git a/src/ColParams.vala b/src/ColParams.vala index 453230b..1dea434 100644 --- a/src/ColParams.vala +++ b/src/ColParams.vala @@ -10,7 +10,7 @@ namespace LAview { protected override ADocList create_default_instance () { return new ColParams (); } /** - * Constructs a new empty //ColParams//. + * Constructs a new empty ``ColParams``. */ public ColParams () {} } diff --git a/src/DocIfaces.vala b/src/DocIfaces.vala index cdb2b87..826612d 100644 --- a/src/DocIfaces.vala +++ b/src/DocIfaces.vala @@ -6,12 +6,12 @@ namespace LAview { public interface IDoc : Object { /** - * Gets a copy of the //IDoc//. + * Gets a copy of the ``IDoc``. */ public abstract IDoc copy (); /** - * Generates LaTeX string for the //IDoc//. + * Generates LaTeX string for the ``IDoc``. */ public abstract string generate (); } @@ -24,14 +24,14 @@ namespace LAview { protected ADoc () {} /** - * Gets a copy of the //ADoc//. + * Gets a copy of the ``ADoc``. */ public virtual IDoc copy () { return Object.new (this.get_type ()) as IDoc; } /** - * Generates LaTeX string for the //ADoc//. + * Generates LaTeX string for the ``ADoc``. */ public virtual string generate () { return ""; } } @@ -49,7 +49,7 @@ namespace LAview { protected abstract ADocList create_default_instance (); /** - * Gets a copy of the //ADocList//. + * Gets a copy of the ``ADocList``. */ public virtual IDoc copy () { var clone = create_default_instance (); @@ -61,7 +61,7 @@ namespace LAview { } /** - * Generates LaTeX string for the //ADocList//. + * Generates LaTeX string for the ``ADocList``. */ public virtual string generate () { var result = new StringBuilder (); diff --git a/src/Glob.vala b/src/Glob.vala index aa427b3..84ae9bb 100644 --- a/src/Glob.vala +++ b/src/Glob.vala @@ -8,7 +8,7 @@ namespace LAview { protected override ADocList create_default_instance () { return new Glob (); } /** - * Constructs a new empty //Glob//. + * Constructs a new empty ``Glob``. */ public Glob () {} } diff --git a/src/Graphics.vala b/src/Graphics.vala index 76c2a69..6487787 100644 --- a/src/Graphics.vala +++ b/src/Graphics.vala @@ -50,7 +50,7 @@ namespace LAview { public string height_unit = ""; /** - * Constructs a new //Graphics// by it's properties. + * Constructs a new ``Graphics`` by it's properties. * * @param path path to the image on the disk. */ @@ -61,7 +61,7 @@ namespace LAview { private Graphics () {} /** - * Gets a copy of the //Graphics//. + * Gets a copy of the ``Graphics``. */ public override IDoc copy () { var clone = new Graphics.with_params (path); @@ -74,7 +74,7 @@ namespace LAview { } /** - * Generates LaTeX string for the //Graphics//. + * Generates LaTeX string for the ``Graphics``. */ public override string generate () { var str = new StringBuilder ("\\includegraphics["); diff --git a/src/Longtable.vala b/src/Longtable.vala index ea89314..d3bb462 100644 --- a/src/Longtable.vala +++ b/src/Longtable.vala @@ -10,19 +10,19 @@ namespace LAview { public class Longtable : ATable { /** - * Constructs a new //Longtable// with default parameters. + * Constructs a new ``Longtable`` with default parameters. */ public Longtable () {} /** - * Gets a copy of the //Longtable//. + * Gets a copy of the ``Longtable``. */ public override IDoc copy () { return base.copy (); } /** - * Generates LaTeX string for the //Longtable//. + * Generates LaTeX string for the ``Longtable``. */ public override string generate () { var s = new StringBuilder (); diff --git a/src/Row.vala b/src/Row.vala index c6d5d59..b9bc0d9 100644 --- a/src/Row.vala +++ b/src/Row.vala @@ -18,28 +18,28 @@ namespace LAview { DEFAULT = 0, /** - * Formal style for the first //Row// in the {@link Subtable}. + * Formal style for the first ``Row`` in the {@link Subtable}. */ FORMAL_FIRST, /** - * Formal style for the middle //Row// in the {@link Subtable}. + * Formal style for the middle ``Row`` in the {@link Subtable}. */ FORMAL_REST, /** - * Formal style for the last //Row// in the {@link Subtable}. + * Formal style for the last ``Row`` in the {@link Subtable}. */ FORMAL_LAST, /** - * Formal style for a single //Row// in the {@link Subtable}. + * Formal style for a single ``Row`` in the {@link Subtable}. */ FORMAL_SINGLE } /** - * Style of any operation on {@link ATable}/{@link Subtable} or //Row// + * Style of any operation on {@link ATable}/{@link Subtable} or ``Row`` * for lines preserving/creation. */ public enum OpLineStyle { @@ -86,12 +86,12 @@ namespace LAview { } /** - * Any text before the //Row//. + * Any text before the ``Row``. */ public string before = ""; /** - * Style of any operation on {@link ATable}/{@link Subtable} or //Row// + * Style of any operation on {@link ATable}/{@link Subtable} or ``Row`` * for lines preserving/creation. */ public Style style; @@ -112,35 +112,35 @@ namespace LAview { public AddSpaces between = new AddSpaces (); /** - * Type of horizontal lines for the //Row//. + * Type of horizontal lines for the ``Row``. */ public enum LinesType { /** - * //Row// has no horizontal lines. + * ``Row`` has no horizontal lines. */ NONE = 0, /** - * //Row// has continuous horizontal line on the top. + * ``Row`` has continuous horizontal line on the top. */ HLINE, /** - * //Row// has noncontinuous horizontal line on the top. + * ``Row`` has noncontinuous horizontal line on the top. */ CLINES } /** - * Constructs a new empty //Row//. + * Constructs a new empty ``Row``. */ public Row () {} protected override ADocList create_default_instance () { return new Row (); } /** - * Gets a copy of the //Row//. + * Gets a copy of the ``Row``. */ public override IDoc copy () { var clone = base.copy () as Row; @@ -315,7 +315,7 @@ namespace LAview { } /** - * Removes a {@link Cell} from the //Row//. + * Removes a {@link Cell} from the ``Row``. * * @param cell {@link Cell} to remove. * @param line_style {@link Row.OpLineStyle} of the operation. @@ -328,7 +328,7 @@ namespace LAview { } /** - * Removes a {@link Cell} from the //Row// at specified position. + * Removes a {@link Cell} from the ``Row`` at specified position. * * @param index position of the {@link Cell} to remove. * @param line_style {@link Row.OpLineStyle} of the operation. @@ -362,7 +362,7 @@ namespace LAview { } /** - * Inserts a {@link Cell} to the //Row// to specified position. + * Inserts a {@link Cell} to the ``Row`` to specified position. * * @param index position to insert the {@link Cell}. * @param cell {@link Cell} to insert. @@ -374,7 +374,7 @@ namespace LAview { } /** - * Adds a {@link Cell} to the //Row//. + * Adds a {@link Cell} to the ``Row``. * * @param cell {@link Cell} to add. * @param line_style {@link Row.OpLineStyle} of the operation. @@ -385,7 +385,7 @@ namespace LAview { } /** - * Generates LaTeX string for the //Row//. + * Generates LaTeX string for the ``Row``. */ public override string generate () { var s = new StringBuilder (); diff --git a/src/Subtable.vala b/src/Subtable.vala index 3ef62e8..66de581 100644 --- a/src/Subtable.vala +++ b/src/Subtable.vala @@ -13,12 +13,12 @@ namespace LAview { public string caption = ""; /** - * Any text before the //Subtable//. + * Any text before the ``Subtable``. */ public string before = ""; /** - * Any text after the //Subtable//. + * Any text after the ``Subtable``. */ public string after = ""; @@ -30,12 +30,12 @@ namespace LAview { protected override ADocList create_default_instance () { return new Subtable (); } /** - * Constructs a new empty //Subtable//. + * Constructs a new empty ``Subtable``. */ public Subtable () {} /** - * Gets a copy of the //Subtable//. + * Gets a copy of the ``Subtable``. */ public override IDoc copy () { var clone = base.copy () as Subtable; @@ -210,7 +210,7 @@ namespace LAview { } /** - * Removes {@link Row} from from //Subtable//. + * Removes {@link Row} from from ``Subtable``. * * @param row {@link Row} to remove. * @param line_style {@link Row.OpLineStyle} of the operation. @@ -223,7 +223,7 @@ namespace LAview { } /** - * Removes a {@link Row} from the //Subtable// at specified position. + * Removes a {@link Row} from the ``Subtable`` at specified position. * * @param index position of the {@link Row} to remove. * @param line_style {@link Row.OpLineStyle} of the operation. @@ -245,7 +245,7 @@ namespace LAview { } /** - * Inserts a {@link Row} to the //Subtable// to specified position. + * Inserts a {@link Row} to the ``Subtable`` to specified position. * * @param index position to insert the {@link Row}. * @param row {@link Row} to insert. @@ -257,7 +257,7 @@ namespace LAview { } /** - * Adds a {@link Row} to the //Subtable//. + * Adds a {@link Row} to the ``Subtable``. * * @param row {@link Row} to add. * @param line_style {@link Row.OpLineStyle} of the operation. @@ -309,7 +309,7 @@ namespace LAview { } /** - * Generates LaTeX string for the //Subtable//. + * Generates LaTeX string for the ``Subtable``. */ public override string generate () { var s = new StringBuilder (); diff --git a/src/Table.vala b/src/Table.vala index c565863..1fad106 100644 --- a/src/Table.vala +++ b/src/Table.vala @@ -55,7 +55,7 @@ namespace LAview { protected ATable () {} /** - * Gets a copy of the //Table//. + * Gets a copy of the ``ATable``. */ public override IDoc copy () { var clone = Object.new (this.get_type ()) as ATable; @@ -73,7 +73,7 @@ namespace LAview { } /** - * Generates LaTeX string for the //Table//. + * Generates LaTeX string for the ``ATable``. */ public override string generate () { assert (false); diff --git a/src/Tabular.vala b/src/Tabular.vala index 10cb847..84c290b 100644 --- a/src/Tabular.vala +++ b/src/Tabular.vala @@ -10,7 +10,7 @@ namespace LAview { public class Tabular : ATable { /** - * Constructs a new //Tabular// with default parameters. + * Constructs a new ``Tabular`` with default parameters. */ public Tabular () {} @@ -24,7 +24,7 @@ namespace LAview { public string width = ""; /** - * Gets a copy of the //Tabular//. + * Gets a copy of the ``Tabular``. */ public override IDoc copy () { var clone = base.copy () as Tabular; @@ -33,7 +33,7 @@ namespace LAview { } /** - * Generates LaTeX string for the //Tabular//. + * Generates LaTeX string for the ``Tabular``. */ public override string generate () { var s = new StringBuilder (); diff --git a/src/Text.vala b/src/Text.vala index 6bb1995..e39f5fd 100644 --- a/src/Text.vala +++ b/src/Text.vala @@ -11,7 +11,7 @@ namespace LAview { public string text = ""; /** - * Constructs a new //Text//. + * Constructs a new ``Text``. * * @param text UTF-8 string. */ @@ -20,14 +20,14 @@ namespace LAview { } /** - * Gets a copy of the //Text//. + * Gets a copy of the ``Text``. */ public override IDoc copy () { return new Text (text); } /** - * Generates LaTeX string for the //Text//. + * Generates LaTeX string for the ``Text``. */ public override string generate () { return text;