Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix typos in plugins subdirectory Fixes various documentation typos and source comment typos. Found via codespell.

Kunda Ki840255178606
diff --git a/libs/surfacecolormanagementapi/surfacecolormanagement/KisSurfaceColorManagerInterface.h b/libs/surfacecolormanagementapi/surfacecolormanagement/KisSurfaceColorManagerInterface.h
index f7a838602f..200109050a 100644
--- a/libs/surfacecolormanagementapi/surfacecolormanagement/KisSurfaceColorManagerInterface.h
+++ b/libs/surfacecolormanagementapi/surfacecolormanagement/KisSurfaceColorManagerInterface.h
@@ -97,7 +97,7 @@ public:
/**
* \return the current description of the underlying surface
*
- * It can return std::nullopt if the surface discription is unset or
+ * It can return std::nullopt if the surface description is unset or
* if the connection to the compositor has been lost.
*/
virtual std::optional<KisSurfaceColorimetry::SurfaceDescription> surfaceDescription() const = 0;
@@ -105,7 +105,7 @@ public:
/**
* \return the current rendering intent assign to the surface
*
- * It can return std::nullopt if the surface discription is unset or
+ * It can return std::nullopt if the surface description is unset or
* if the connection to the compositor has been lost.
*/
virtual std::optional<KisSurfaceColorimetry::RenderIntent> renderingIntent() const = 0;
diff --git a/plugins/assistants/Assistants/CurvilinearPerspectiveAssistant.cc b/plugins/assistants/Assistants/CurvilinearPerspectiveAssistant.cc
index d245b22e62..2499ae9f81 100644
--- a/plugins/assistants/Assistants/CurvilinearPerspectiveAssistant.cc
+++ b/plugins/assistants/Assistants/CurvilinearPerspectiveAssistant.cc
@@ -67,15 +67,15 @@ void CurvilinearPerspectiveAssistant::drawAssistant(QPainter& gc, const QRectF&
*
* Create guidelines by selecting incremental multipliers for the assistant size between [-1, 1),
* and calculating the center location and radius of the circle to include the point
- * at the location specified by the multiplier (the "arbitary point").
+ * at the location specified by the multiplier (the "arbitrary point").
*
* Formulas:
* Radius^2 = HalfHandleDist^2 + CenterDist^2 (b.c. The circle must include both vanishing points.)
* Radius^2 = (CenterDist + Multiplier * HalfHandleDist)^2 (b.c. The circle must include the arbitrary point)
*
* Solve for CenterDist and Radius:
- * CenterDist = HalfHandleDist * (1 - Multipler * Multiplier) / ( 2 * Multiplier)
- * Radius = HalfHandleDist * (1 + Multipler * Multiplier) / ( 2 * Multiplier)
+ * CenterDist = HalfHandleDist * (1 - Multiplier * Multiplier) / ( 2 * Multiplier)
+ * Radius = HalfHandleDist * (1 + Multiplier * Multiplier) / ( 2 * Multiplier)
*
*/
diff --git a/plugins/assistants/Mainpage.dox b/plugins/assistants/Mainpage.dox
index e05739bc64..22e6ba9f61 100644
--- a/plugins/assistants/Mainpage.dox
+++ b/plugins/assistants/Mainpage.dox
@@ -2,5 +2,5 @@
* \mainpage
*/
-// DOXYGEN_SET_PROJECT_NAME = Assitants
+// DOXYGEN_SET_PROJECT_NAME = Assistants
// DOXYGEN_SET_IGNORE_PREFIX = Kis Ko K
diff --git a/plugins/dockers/advancedcolorselector/kis_color_history.h b/plugins/dockers/advancedcolorselector/kis_color_history.h
index 028e548a88..36b11a8afd 100644
--- a/plugins/dockers/advancedcolorselector/kis_color_history.h
+++ b/plugins/dockers/advancedcolorselector/kis_color_history.h
@@ -35,7 +35,7 @@ public Q_SLOTS:
void colorHistoryChanged(const QList<KoColor> &history);
private:
- // Get reference to the relevant color history, either from resource provider or doucment.
+ // Get reference to the relevant color history, either from resource provider or document.
QList<KoColor> colorHistory();
// Write the changed color history where it is stored, depending on the settings.
diff --git a/plugins/dockers/recorder/recorder_export_config.cpp b/plugins/dockers/recorder/recorder_export_config.cpp
index 6737492509..5165f11983 100644
--- a/plugins/dockers/recorder/recorder_export_config.cpp
+++ b/plugins/dockers/recorder/recorder_export_config.cpp
@@ -38,7 +38,7 @@ const QList<RecorderProfile> defaultProfiles = {
/* Filter documentation https://trac.ffmpeg.org/wiki/FilteringGuide
* Inside the complex filter command each line is a different filter that is applied to an input stream.
* The input stream to transform is specified at the start of each line in the format '[$STREAM_NAME]' (ex. [p1], [v1], [v2]).
- * Immediatly following the input stream name will be the filter to apply (ex: trim, scale, loop)
+ * Immediately following the input stream name will be the filter to apply (ex: trim, scale, loop)
* Depending on the filter it may or may have various options set
* After all options for the filter a name can be specified that will correspond to the output stream of the filter. If no name is specified it will be used as the final result for the output file.
*/
diff --git a/plugins/dockers/textproperties/CssQmlUnitConverter.h b/plugins/dockers/textproperties/CssQmlUnitConverter.h
index d403abcebb..3574bacc42 100644
--- a/plugins/dockers/textproperties/CssQmlUnitConverter.h
+++ b/plugins/dockers/textproperties/CssQmlUnitConverter.h
@@ -60,8 +60,8 @@ public:
Em, ///< FontSize
Ex, ///< Font x-height
Cap,///< Cap height
- Ch, ///< avarage proportional advance
- Ic, ///< avarage full-width advance
+ Ch, ///< average proportional advance
+ Ic, ///< average full-width advance
Lh, ///< line-height
// unique for certain properties
Lines, ///< Used by lineHeight
diff --git a/plugins/dockers/textproperties/qml/AlignmentBaseline.qml b/plugins/dockers/textproperties/qml/AlignmentBaseline.qml
index 146831ef0c..dcb7181102 100644
--- a/plugins/dockers/textproperties/qml/AlignmentBaseline.qml
+++ b/plugins/dockers/textproperties/qml/AlignmentBaseline.qml
@@ -13,7 +13,7 @@ TextPropertyBase {
propertyName: "alignment-baseline";
propertyType: TextPropertyConfigModel.Character;
toolTip: i18nc("@info:tooltip",
- "Alignment Baseline allows controling how this range of text is aligned to the parent text.");
+ "Alignment Baseline allows controlling how this range of text is aligned to the parent text.");
searchTerms: i18nc("comma separated search terms for the alignment-baseline property, matching is case-insensitive",
"alignment-baseline, mojisoroe");
property int baselineSelection;
diff --git a/plugins/dockers/textproperties/qml/OTNumeric.qml b/plugins/dockers/textproperties/qml/OTNumeric.qml
index 8ad9809d4f..2dbc64fd80 100644
--- a/plugins/dockers/textproperties/qml/OTNumeric.qml
+++ b/plugins/dockers/textproperties/qml/OTNumeric.qml
@@ -15,7 +15,7 @@ TextPropertyBase {
toolTip: i18nc("@info:tooltip",
"Enable number-related glyph forms on the text.");
searchTerms: i18nc("comma separated search terms for the font-variant-numeric property, matching is case-insensitive",
- "font-variant-numeric, oldstyle numberals, lining numerals, ordinals, slashed zero, fractions");
+ "font-variant-numeric, oldstyle numerals, lining numerals, ordinals, slashed zero, fractions");
property int figureStyleType;
property int figureSpacingType;
diff --git a/plugins/dockers/textproperties/qml/SqueezedComboBox.qml b/plugins/dockers/textproperties/qml/SqueezedComboBox.qml
index 1e40af8a5d..b6268da44d 100644
--- a/plugins/dockers/textproperties/qml/SqueezedComboBox.qml
+++ b/plugins/dockers/textproperties/qml/SqueezedComboBox.qml
@@ -76,7 +76,7 @@ ComboBox {
}
// To get the pop-up to be the same size as the maximum view, we first need to calculate
- // the implict width via text-metrics, because icon label elides by default.
+ // the implicit width via text-metrics, because icon label elides by default.
// then, on completed, we need to set the neededwidth to the max of all completed items.
// then, we need to set the width to the max of implicit and parent width, so the item fills.
Component.onCompleted: view.neededWidth = Math.max(view.neededWidth, implicitWidth);
diff --git a/plugins/extensions/pykrita/plugin/krita/attic/mikro.py b/plugins/extensions/pykrita/plugin/krita/attic/mikro.py
index 5a6de19617..a57ea19617 100644
--- a/plugins/extensions/pykrita/plugin/krita/attic/mikro.py
+++ b/plugins/extensions/pykrita/plugin/krita/attic/mikro.py
@@ -128,7 +128,7 @@ def wrap(obj, force=False):
If a class is not known by PyQt it will be automatically
casted to a known wrapped super class.
- But that limits access to methods and propperties of this super class.
+ But that limits access to methods and properties of this super class.
So instead this functions returns a wrapper class (PyQtClass)
which queries the metaObject and provides access to
all slots and all properties.
diff --git a/plugins/extensions/waveletdecompose/waveletdecompose.cpp b/plugins/extensions/waveletdecompose/waveletdecompose.cpp
index 3732f00006..639bd4e99b 100644
--- a/plugins/extensions/waveletdecompose/waveletdecompose.cpp
+++ b/plugins/extensions/waveletdecompose/waveletdecompose.cpp
@@ -114,7 +114,7 @@ void WaveletDecompose::slotWaveletDecompose()
KisGroupLayerSP baseGroup = image->rootLayer();
- //add layer goup
+ //add layer group
KisGroupLayerSP grp = new KisGroupLayer(image, i18n("Wavelet decompose"), OPACITY_OPAQUE_U8);
adapter.addNode(grp, baseGroup, baseGroup->lastChild());
baseGroup = grp;
diff --git a/plugins/paintops/defaultpaintops/brush/KisDabRenderingJob.cpp b/plugins/paintops/defaultpaintops/brush/KisDabRenderingJob.cpp
index 721c8df8b2..1ff0b1ed1a 100644
--- a/plugins/paintops/defaultpaintops/brush/KisDabRenderingJob.cpp
+++ b/plugins/paintops/defaultpaintops/brush/KisDabRenderingJob.cpp
@@ -53,7 +53,7 @@ KisDabRenderingJob &KisDabRenderingJob::operator=(const KisDabRenderingJob &rhs)
QPoint KisDabRenderingJob::dstDabOffset() const
{
/// Recenter generated low-res dab around the center
- /// of the idel theoretical dab rect
+ /// of the idle theoretical dab rect
const QPoint p1 = generationInfo.dstDabRect.topLeft();
const QPoint s1 = QPoint(generationInfo.dstDabRect.width(),
generationInfo.dstDabRect.height());
diff --git a/plugins/paintops/libpaintop/KisMaskingBrushOption.cpp b/plugins/paintops/libpaintop/KisMaskingBrushOption.cpp
index f057760eb7..a6c9254869 100644
--- a/plugins/paintops/libpaintop/KisMaskingBrushOption.cpp
+++ b/plugins/paintops/libpaintop/KisMaskingBrushOption.cpp
@@ -202,7 +202,7 @@ struct KisMaskingBrushOption::Private
lager::reader<qreal> masterBrushSize;
MaskingBrushModel maskingModel;
- /// we don't use precison data, we just need it to pass
+ /// we don't use precision data, we just need it to pass
/// to the brush selection widget
lager::state<KisBrushModel::PrecisionData, lager::automatic_tag> brushPrecisionData;
};
diff --git a/plugins/paintops/libpaintop/KisMultiSensorsSelector.cpp b/plugins/paintops/libpaintop/KisMultiSensorsSelector.cpp
index e924034aea..4cde56da7b 100644
--- a/plugins/paintops/libpaintop/KisMultiSensorsSelector.cpp
+++ b/plugins/paintops/libpaintop/KisMultiSensorsSelector.cpp
@@ -121,7 +121,7 @@ void KisMultiSensorsSelector::sensorActivated(const QModelIndex& index)
bool KisMultiSensorsSelector::eventFilter(QObject *obj, QEvent *event)
{
/**
- * This filter makes it possibe to select a sensor by click+drag gesture.
+ * This filter makes it possible to select a sensor by click+drag gesture.
* Such gesture is very easy to do with a tablet stylus. Basically, we
* activate the lastly-dragged-over sensor on mause/tablet-release
*/
diff --git a/plugins/paintops/libpaintop/KisOptionTuple.h b/plugins/paintops/libpaintop/KisOptionTuple.h
index 617ce8c392..0fcf4d044d 100644
--- a/plugins/paintops/libpaintop/KisOptionTuple.h
+++ b/plugins/paintops/libpaintop/KisOptionTuple.h
@@ -15,7 +15,7 @@ namespace detail {
BOOST_TTI_HAS_STATIC_MEMBER_DATA(supports_prefix)
/**
- * A simple metafunction that detects the precence of
+ * A simple metafunction that detects the presence of
* 'supports_prefix' and checks its value.
*/
template <typename T, bool has_member = has_static_member_data_supports_prefix<T, const bool>::value>
diff --git a/plugins/paintops/libpaintop/KisPaintOpOptionWidgetUtils.h b/plugins/paintops/libpaintop/KisPaintOpOptionWidgetUtils.h
index e73ccea33d..244c1f60cc 100644
--- a/plugins/paintops/libpaintop/KisPaintOpOptionWidgetUtils.h
+++ b/plugins/paintops/libpaintop/KisPaintOpOptionWidgetUtils.h
@@ -136,7 +136,7 @@ Widget* createOptionWidget(Data&& data, Args... args)
template <typename Widget, typename Data, typename... Args>
Widget* createOptionWidgetWithLodLimitations(Data&& data, Args... args)
{
- static_assert(detail::has_member_function_lodLimitations<KisPaintopLodLimitations (Data::*)() const>::value, "Data must have Data::lodLomitations() member function defined to use a widget with lod limitaitons generation");
+ static_assert(detail::has_member_function_lodLimitations<KisPaintopLodLimitations (Data::*)() const>::value, "Data must have Data::lodLomitations() member function defined to use a widget with lod limitations generation");
return new detail::WidgetWrapperWithLodLimitations<Widget, Data, Args...>(std::forward<Data>(data), std::forward<Args>(args)...);
}
diff --git a/plugins/paintops/libpaintop/tests/KisCurveOptionDataTest.cpp b/plugins/paintops/libpaintop/tests/KisCurveOptionDataTest.cpp
index 87a60420e3..dccc64291d 100644
--- a/plugins/paintops/libpaintop/tests/KisCurveOptionDataTest.cpp
+++ b/plugins/paintops/libpaintop/tests/KisCurveOptionDataTest.cpp
@@ -97,7 +97,7 @@ void KisCurveOptionDataTest::testSerializeNoSensors()
/**
* When Krita loads a configuration with no sensors
- * available, it automatically acitvates a pressure
+ * available, it automatically activates a pressure
* sensors with the default curve.
*/
diff --git a/plugins/paintops/mypaint/MyPaintPaintOpPreset.cpp b/plugins/paintops/mypaint/MyPaintPaintOpPreset.cpp
index 8c79a4bf2c..35b079e259 100644
--- a/plugins/paintops/mypaint/MyPaintPaintOpPreset.cpp
+++ b/plugins/paintops/mypaint/MyPaintPaintOpPreset.cpp
@@ -154,7 +154,7 @@ bool KisMyPaintPaintOpPreset::loadFromDevice(QIODevice *dev, KisResourcesInterfa
auto recoverDeprecatedProperty = [] (auto data, KisPaintOpSettingsSP settings) {
/// we just round-trip the save operation to save the property
- /// out ot json object
+ /// out to json object
data.read(settings.data());
data.write(settings.data());
diff --git a/plugins/platforms/wayland/waylandcolormanagement/KisWaylandOutputColorInfo.cpp b/plugins/platforms/wayland/waylandcolormanagement/KisWaylandOutputColorInfo.cpp
index 65526b4298..8260120747 100644
--- a/plugins/platforms/wayland/waylandcolormanagement/KisWaylandOutputColorInfo.cpp
+++ b/plugins/platforms/wayland/waylandcolormanagement/KisWaylandOutputColorInfo.cpp
@@ -76,7 +76,7 @@ void KisWaylandOutputColorInfo::initScreenConnection(QScreen *screen)
{
auto waylandScreen = screen->nativeInterface<QNativeInterface::QWaylandScreen>();
- // the sceen may have no wayland screen if it is a fake placeholder screen
+ // the screen may have no wayland screen if it is a fake placeholder screen
// that was created by Qt while compositor restart
if (!waylandScreen) return;
diff --git a/plugins/platforms/wayland/waylandcolormanagement/WAYLAND_HACKING.md b/plugins/platforms/wayland/waylandcolormanagement/WAYLAND_HACKING.md
index 44c2305c0a..3ebd11cd2d 100644
--- a/plugins/platforms/wayland/waylandcolormanagement/WAYLAND_HACKING.md
+++ b/plugins/platforms/wayland/waylandcolormanagement/WAYLAND_HACKING.md
@@ -23,7 +23,7 @@ This will generate a code that performs two things for you:
1) Destruction of the Wayland's C-style object in the destructor of
the C++-object
-2) Destruction of the Wayland's C-style object when the extenstion
+2) Destruction of the Wayland's C-style object when the extension
gets inactive, i.e. when the connection is lost.
## Active and non-active states
@@ -35,7 +35,7 @@ expose ready and non-ready states (see below).
## Ready and non-ready states
-The Wayland protocol is asyncronous. It means thet when we request some
+The Wayland protocol is asynchronous. It means that when we request some
information from the compositor we do not get the reply immediately. Instead
we should wait untit the compositor sends us an event with the reply.
diff --git a/plugins/python/comics_project_management_tools/comics_project_settings_dialog.py b/plugins/python/comics_project_management_tools/comics_project_settings_dialog.py
index 8e1194a854..84e853d1b5 100644
--- a/plugins/python/comics_project_management_tools/comics_project_settings_dialog.py
+++ b/plugins/python/comics_project_management_tools/comics_project_settings_dialog.py
@@ -90,7 +90,7 @@ class path_select(QWidget):
"""
-Dialog for editing basic proect details like the project name, default template,
+Dialog for editing basic project details like the project name, default template,
template location, etc.
"""
diff --git a/plugins/python/documenttools/tools/scaletool/scaletool.py b/plugins/python/documenttools/tools/scaletool/scaletool.py
index 96129ed365..bb408b0f86 100644
--- a/plugins/python/documenttools/tools/scaletool/scaletool.py
+++ b/plugins/python/documenttools/tools/scaletool/scaletool.py
@@ -44,7 +44,7 @@ class ScaleTool(QWidget):
self.layout.addRow(i18n("Width:"), self.widthSpinBox)
self.layout.addRow(i18n("Height:"), self.heightSpinBox)
self.layout.addRow(i18n("Resolution:"), self.resolutionLayout)
- self.layout.addRow(i18nc("Resize intepolation method list label", "Filter:"), self.strategyComboBox)
+ self.layout.addRow(i18nc("Resize interpolation method list label", "Filter:"), self.strategyComboBox)
def adjust(self, documents):
for document in documents:
diff --git a/plugins/python/plugin_importer/tests/test_plugin_importer.py b/plugins/python/plugin_importer/tests/test_plugin_importer.py
index 2639e862b9..d464809920 100644
--- a/plugins/python/plugin_importer/tests/test_plugin_importer.py
+++ b/plugins/python/plugin_importer/tests/test_plugin_importer.py
@@ -276,7 +276,7 @@ class PluginImporterTestCase(TestCase):
importer.import_all()
def test_missing_keys_in_desktop_file(self):
- """Test: Import plugin whose destkop file is missing needed keys."""
+ """Test: Import plugin whose destktop file is missing needed keys."""
self.zip_plugin('fail_missing_keys_desktop_file')
importer = PluginImporter(self.zip_filename,
@@ -287,7 +287,7 @@ class PluginImporterTestCase(TestCase):
importer.import_all()
def test_no_matching_plugindir(self):
- """Test: Import plugin whose destkop file is missing needed keys."""
+ """Test: Import plugin whose destktop file is missing needed keys."""
self.zip_plugin('fail_no_matching_plugindir')
importer = PluginImporter(self.zip_filename,
diff --git a/plugins/python/workflow_buttons/Manual.html b/plugins/python/workflow_buttons/Manual.html
index 1eaca3d012..943f808ec3 100644
--- a/plugins/python/workflow_buttons/Manual.html
+++ b/plugins/python/workflow_buttons/Manual.html
@@ -24,13 +24,13 @@
<li>Select the icon mode for the button: custom icon, tool icon, or brush preset icon.</li>
<li>Select an icon for the button (svg or png files). Click on the button on the left to open a file selection dialog.</li>
<li>Enter a tooltip text to describe your button.</li>
- <li>Select a tool in the list. If you don't want to select any tool, select the emtpy line at the beginning of the list.</li>
+ <li>Select a tool in the list. If you don't want to select any tool, select the empty line at the beginning of the list.</li>
<li>Select a brush preset. Click on the button on the left to open a prest selection dialog. To deselect the brush preset, erase the content of the corresponding text field.</li>
<li>Select a foreground color. You can load the currently selected foreground color with the corresponding button: it will be displayed in a square on the next line, with the info used to save that color. You can save any kind of color supported by Krita. To delete selected color, click on "Clear foreground color".</li>
<li>Select a background color. Same as for the foreground color...</li>
<li>Select a script file. Click on the button on the left to open a file selection dialog. To deselect the script, erase the content of the corresponding text field.</li>
</ul>
-<p>There are also two global options. The first one is to select the buttons size. By default it is set to 32 pixels, but you can set it smaller or bigger. The second option is to selecte the settings button position. By default it is placed separately in the bottom bar of the docker, but you can instead make it appear at the start of the main buttons list (this can be useful to optimize the docker size as it removes the extra height of the bottom bar).</p>
+<p>There are also two global options. The first one is to select the buttons size. By default it is set to 32 pixels, but you can set it smaller or bigger. The second option is to select the settings button position. By default it is placed separately in the bottom bar of the docker, but you can instead make it appear at the start of the main buttons list (this can be useful to optimize the docker size as it removes the extra height of the bottom bar).</p>
<p>Finally, to save all your changes, click on the OK button. If you want to discard all your changes, click on the Cancel button.</p>
</body>
</html>
diff --git a/plugins/tools/svgtexttool/SvgTextCursor.cpp b/plugins/tools/svgtexttool/SvgTextCursor.cpp
index 2533cc5e82..80102832aa 100644
--- a/plugins/tools/svgtexttool/SvgTextCursor.cpp
+++ b/plugins/tools/svgtexttool/SvgTextCursor.cpp
@@ -694,7 +694,7 @@ void SvgTextCursor::inputMethodEvent(QInputMethodEvent *event)
<< "length: " << attribute.length << "val: " << attribute.value;
// Text Format is about setting the look of the preedit string, and there can be multiple per event
// we primarily interpret the underline. When a background color is set, we increase the underline
- // thickness, as that's what is actually supossed to happen according to the comments in the
+ // thickness, as that's what is actually supposed to happen according to the comments in the
// platform input contexts for both macOS and Windows.
if (attribute.type == QInputMethodEvent::TextFormat) {
@@ -791,7 +791,7 @@ void SvgTextCursor::inputMethodEvent(QInputMethodEvent *event)
}
// QInputMethodEvent::Language is about setting the locale on the given preedit string, which is not possible yet.
- // QInputMethodEvent::Ruby is supossedly ruby info for the preedit string, but none of the platform integrations
+ // QInputMethodEvent::Ruby is supposedly ruby info for the preedit string, but none of the platform integrations
// actually implement this at time of writing, and it may have been something from a previous live of Qt's.
} else if (attribute.type == QInputMethodEvent::Cursor) {
if (d->preEditStart < 0) {
diff --git a/plugins/tools/svgtexttool/SvgTextInsertCommand.cpp b/plugins/tools/svgtexttool/SvgTextInsertCommand.cpp
index 0f0e4e2e87..0ca15dd861 100644
--- a/plugins/tools/svgtexttool/SvgTextInsertCommand.cpp
+++ b/plugins/tools/svgtexttool/SvgTextInsertCommand.cpp
@@ -24,8 +24,8 @@ SvgTextInsertCommand::SvgTextInsertCommand(KoSvgTextShape *shape, int pos, int a
// - carriage return
// - linefeed-carriage return
// - carriage return-linefeed
- // - line seperator
- // - paragraph seperator
+ // - line separator
+ // - paragraph separator
// - vertical tab/line tab
// with a single linefeed to avoid them from being added to the textShape.
exp.setPattern("[\\r|\\r\\n|\\x2029|\\x2028\\x000b]");
diff --git a/plugins/tools/svgtexttool/SvgTextShortCuts.h b/plugins/tools/svgtexttool/SvgTextShortCuts.h
index d482bb365c..97a39ad0eb 100644
--- a/plugins/tools/svgtexttool/SvgTextShortCuts.h
+++ b/plugins/tools/svgtexttool/SvgTextShortCuts.h
@@ -15,7 +15,7 @@ class KoSvgTextProperties;
*
* Class to handle text property shortcuts generically.
*
- * Many text property shorcuts are about toggling/enabling a single property.
+ * Many text property shortcuts are about toggling/enabling a single property.
* Given there's a huge amount of them, it thus makes sense to generalize the
* actions by adding a special QVariant to them and using that QVariant to
* determine which property adjustment is at play.
diff --git a/plugins/tools/svgtexttool/glyphpalette/GlyphPaletteProxyModel.h b/plugins/tools/svgtexttool/glyphpalette/GlyphPaletteProxyModel.h
index 15a073ddea..f6d143f16f 100644
--- a/plugins/tools/svgtexttool/glyphpalette/GlyphPaletteProxyModel.h
+++ b/plugins/tools/svgtexttool/glyphpalette/GlyphPaletteProxyModel.h
@@ -50,7 +50,7 @@ public:
public Q_SLOTS:
/**
* @brief setSearchText
- * @param text -- if the text starts with "U+", the consequetive characters are interpreted as a hex value.
+ * @param text -- if the text starts with "U+", the consecutive characters are interpreted as a hex value.
* Otherwise, the first codepoint of text is searched upon.
*/
void setSearchText(const QString &text);
diff --git a/plugins/tools/tool_transform2/kis_tool_transform.cc b/plugins/tools/tool_transform2/kis_tool_transform.cc
index b4e80f543b..c42df2d969 100644
--- a/plugins/tools/tool_transform2/kis_tool_transform.cc
+++ b/plugins/tools/tool_transform2/kis_tool_transform.cc
@@ -223,7 +223,7 @@ void KisToolTransform::convexHullCalculationRequested()
{
if (m_strokeId && !m_transaction.rootNodes().isEmpty()) {
/**
- * Free transform strategy issues the recalcualtion request every time
+ * Free transform strategy issues the recalculation request every time
* the user performs a bounds rotation action, so we should skip actual
* recalculation, when it is not necessary anymore
*/
diff --git a/plugins/tools/tool_transform2/strokes/inplace_transform_stroke_strategy.cpp b/plugins/tools/tool_transform2/strokes/inplace_transform_stroke_strategy.cpp
index 90294c814c..e337c581d2 100644
--- a/plugins/tools/tool_transform2/strokes/inplace_transform_stroke_strategy.cpp
+++ b/plugins/tools/tool_transform2/strokes/inplace_transform_stroke_strategy.cpp
@@ -476,7 +476,7 @@ void InplaceTransformStrokeStrategy::initStrokeCallback()
KritaUtils::addJobSequential(extraInitJobs, [this]() {
// When dealing with animated transform mask layers, create keyframe and save the command for undo.
// NOTE: for transform masks we create a keyframe no matter what the user
- // settigs are
+ // settings are
Q_FOREACH (KisNodeSP node, m_d->processedNodes) {
if (KisTransformMask* transformMask = dynamic_cast<KisTransformMask*>(node.data())) {
if (KisLazyCreateTransformMaskKeyframesCommand::maskHasAnimation(transformMask)) {
diff --git a/plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp b/plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp
index 2bb0c45b24..a61066a4c9 100644
--- a/plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp
+++ b/plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp
@@ -568,7 +568,7 @@ void TransformStrokeStrategy::initStrokeCallback()
KritaUtils::addJobSequential(extraInitJobs, [this]() {
// When dealing with animated transform mask layers, create keyframe and save the command for undo.
// NOTE: for transform masks we create a keyframe no matter what the user
- // settigs are
+ // settings are
Q_FOREACH (KisNodeSP node, m_processedNodes) {
if (KisTransformMask* transformMask = dynamic_cast<KisTransformMask*>(node.data())) {
if (KisLazyCreateTransformMaskKeyframesCommand::maskHasAnimation(transformMask)) {