Skip to content

Commit

Permalink
spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Dec 12, 2017
1 parent bbc3055 commit 7a1a4ed
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion python/core/symbology/qgsarrowsymbollayer.sip
Expand Up @@ -71,7 +71,7 @@ Set the scale for the arrow width

double arrowStartWidth() const;
%Docstring
Get current arrow start width. Only meaningfull for single headed arrows
Get current arrow start width. Only meaningful for single headed arrows
:rtype: float
%End
void setArrowStartWidth( double width );
Expand Down
2 changes: 1 addition & 1 deletion python/core/symbology/qgslegendsymbolitem.sip
Expand Up @@ -88,7 +88,7 @@ Determine whether given scale is within the scale range. Returns true if scale o

int level() const;
%Docstring
Identation level that tells how deep the item is in a hierarchy of items. For flat lists level is 0
Indentation level that tells how deep the item is in a hierarchy of items. For flat lists level is 0
:rtype: int
%End

Expand Down
12 changes: 6 additions & 6 deletions scripts/doxygen_space.pl
Expand Up @@ -46,26 +46,26 @@

if ( $new_line =~ m/^(\s*)\/\/!\s*(.*?)$/ ){
#found a //! comment
my $identation = $1;
my $indentation = $1;
my $comment = $2;
#check next line to see if it begins with //!
if ( $INPUT_LINES[$LINE_IDX+1] =~ m/\s*\/\/!\s*(.*?)$/){
#we are in a multiline //! comment block, convert to /** block
if ( !$PREVIOUS_WAS_BLANKLINE ){
print $out_handle "\n";
}
print $out_handle $identation."/**\n";
print $out_handle $identation." * ".$comment."\n";
print $out_handle $indentation."/**\n";
print $out_handle $indentation." * ".$comment."\n";
while ( $INPUT_LINES[$LINE_IDX+1] =~ m/\s*\/\/!\s*(.*?)$/ ){
if ($1 ne ''){
print $out_handle $identation." * ".$1."\n";
print $out_handle $indentation." * ".$1."\n";
}
else {
print $out_handle $identation." *\n";
print $out_handle $indentation." *\n";
}
$LINE_IDX++;
}
print $out_handle $identation." */\n";
print $out_handle $indentation." */\n";
}
else {
print $out_handle $new_line."\n";
Expand Down
1 change: 1 addition & 0 deletions scripts/spell_check/spelling.dat
Expand Up @@ -3455,6 +3455,7 @@ idealogy:ideology
identicial:identical
identifer:identifier
identifers:identifiers
identation:indentation
ideosyncratic:idiosyncratic
idesa:ideas
idicate:indicate
Expand Down
2 changes: 1 addition & 1 deletion src/core/symbology/qgsarrowsymbollayer.h
Expand Up @@ -61,7 +61,7 @@ class CORE_EXPORT QgsArrowSymbolLayer : public QgsLineSymbolLayer
//! Set the scale for the arrow width
void setArrowWidthUnitScale( const QgsMapUnitScale &scale ) { mArrowWidthUnitScale = scale; }

//! Get current arrow start width. Only meaningfull for single headed arrows
//! Get current arrow start width. Only meaningful for single headed arrows
double arrowStartWidth() const { return mArrowStartWidth; }
//! Set the arrow start width
void setArrowStartWidth( double width ) { mArrowStartWidth = width; }
Expand Down
4 changes: 2 additions & 2 deletions src/core/symbology/qgslegendsymbolitem.h
Expand Up @@ -79,7 +79,7 @@ class CORE_EXPORT QgsLegendSymbolItem
*/
int scaleMaxDenom() const { return mScaleMaxDenom; }

//! Identation level that tells how deep the item is in a hierarchy of items. For flat lists level is 0
//! Indentation level that tells how deep the item is in a hierarchy of items. For flat lists level is 0
int level() const { return mLevel; }

/**
Expand Down Expand Up @@ -129,7 +129,7 @@ class CORE_EXPORT QgsLegendSymbolItem
int mScaleMinDenom = -1;
int mScaleMaxDenom = -1;

//! Identation level that tells how deep the item is in a hierarchy of items. For flat lists level is 0
//! Indentation level that tells how deep the item is in a hierarchy of items. For flat lists level is 0
int mLevel = 0;
//! Key of the parent legend node. For legends with tree hierarchy
QString mParentKey;
Expand Down

0 comments on commit 7a1a4ed

Please sign in to comment.