From 4e3fe05c044cdb4e776783ff18fe41ae758e23b8 Mon Sep 17 00:00:00 2001 From: Maximiliano Curia Date: Wed, 7 Nov 2018 16:17:19 +0000 Subject: [PATCH] Import ktexteditor_5.51.0.orig.tar.xz [dgit import orig ktexteditor_5.51.0.orig.tar.xz] --- .arcconfig | 3 + .gitignore | 8 + .kateconfig | 1 + .kateproject | 5 + CMakeLists.txt | 131 + COPYING.GPL-2 | 339 + COPYING.LGPL-2 | 481 + COPYING.LIB | 510 + ExtraDesktop.sh | 4 + KF5TextEditorConfig.cmake.in | 7 + README.md | 63 + autotests/CMakeLists.txt | 157 + autotests/input/.gitignore | 1 + autotests/input/bug205447.txt | 1 + autotests/input/bug311866.cpp | 6 + autotests/input/bug313759.js | 10 + autotests/input/bug313759.txt | 503 + autotests/input/bug313769.cpp | 74 + autotests/input/bug317111.js | 5 + autotests/input/bug317111.txt | 1 + .../input/commands/utils/bug_309977_a/README | 1 + .../commands/utils/bug_309977_a/expected | 3 + .../commands/utils/bug_309977_a/input.js | 2 + .../input/commands/utils/bug_309977_a/origin | 2 + .../input/commands/utils/bug_309977_b/README | 1 + .../commands/utils/bug_309977_b/expected | 3 + .../commands/utils/bug_309977_b/input.js | 2 + .../input/commands/utils/bug_309977_b/origin | 3 + .../input/commands/utils/bug_309978/expected | 4 + .../input/commands/utils/bug_309978/input.js | 3 + .../input/commands/utils/bug_309978/origin | 4 + .../input/commands/utils/bug_309980/expected | 4 + .../input/commands/utils/bug_309980/input.js | 2 + .../input/commands/utils/bug_309980/origin | 3 + .../commands/utils/duplicate_down_1/expected | 4 + .../commands/utils/duplicate_down_1/input.js | 2 + .../commands/utils/duplicate_down_1/origin | 3 + .../commands/utils/duplicate_down_2/expected | 3 + .../commands/utils/duplicate_down_2/input.js | 2 + .../commands/utils/duplicate_down_2/origin | 2 + .../commands/utils/duplicate_down_3/README | 1 + .../commands/utils/duplicate_down_3/expected | 4 + .../commands/utils/duplicate_down_3/input.js | 3 + .../commands/utils/duplicate_down_3/origin | 3 + .../utils/duplicate_down_bottom/expected | 3 + .../utils/duplicate_down_bottom/input.js | 2 + .../utils/duplicate_down_bottom/origin | 2 + .../utils/duplicate_down_selection_1/README | 1 + .../utils/duplicate_down_selection_1/expected | 5 + .../utils/duplicate_down_selection_1/input.js | 8 + .../utils/duplicate_down_selection_1/origin | 3 + .../utils/duplicate_down_selection_2/README | 1 + .../utils/duplicate_down_selection_2/expected | 5 + .../utils/duplicate_down_selection_2/input.js | 8 + .../utils/duplicate_down_selection_2/origin | 4 + .../utils/duplicate_down_selection_3/expected | 9 + .../utils/duplicate_down_selection_3/input.js | 8 + .../utils/duplicate_down_selection_3/origin | 6 + .../utils/duplicate_down_selection_4/expected | 9 + .../utils/duplicate_down_selection_4/input.js | 8 + .../utils/duplicate_down_selection_4/origin | 6 + .../commands/utils/duplicate_up_1/expected | 4 + .../commands/utils/duplicate_up_1/input.js | 2 + .../commands/utils/duplicate_up_1/origin | 3 + .../commands/utils/duplicate_up_2/expected | 3 + .../commands/utils/duplicate_up_2/input.js | 2 + .../commands/utils/duplicate_up_2/origin | 2 + .../commands/utils/duplicate_up_3/README | 1 + .../commands/utils/duplicate_up_3/expected | 4 + .../commands/utils/duplicate_up_3/input.js | 3 + .../commands/utils/duplicate_up_3/origin | 3 + .../utils/duplicate_up_bottom/expected | 3 + .../utils/duplicate_up_bottom/input.js | 2 + .../commands/utils/duplicate_up_bottom/origin | 2 + .../utils/duplicate_up_selection_1/README | 1 + .../utils/duplicate_up_selection_1/expected | 5 + .../utils/duplicate_up_selection_1/input.js | 8 + .../utils/duplicate_up_selection_1/origin | 3 + .../utils/duplicate_up_selection_2/README | 1 + .../utils/duplicate_up_selection_2/expected | 5 + .../utils/duplicate_up_selection_2/input.js | 8 + .../utils/duplicate_up_selection_2/origin | 4 + .../input/commands/utils/move_down_1/expected | 3 + .../input/commands/utils/move_down_1/input.js | 2 + .../input/commands/utils/move_down_1/origin | 3 + .../commands/utils/move_down_bottom/README | 1 + .../commands/utils/move_down_bottom/expected | 2 + .../commands/utils/move_down_bottom/input.js | 4 + .../commands/utils/move_down_bottom/origin | 2 + .../utils/move_down_selection_1/README | 1 + .../utils/move_down_selection_1/expected | 5 + .../utils/move_down_selection_1/input.js | 9 + .../utils/move_down_selection_1/origin | 4 + .../utils/move_down_selection_2/README | 1 + .../utils/move_down_selection_2/expected | 4 + .../utils/move_down_selection_2/input.js | 8 + .../utils/move_down_selection_2/origin | 3 + .../input/commands/utils/move_up_1/expected | 3 + .../input/commands/utils/move_up_1/input.js | 2 + .../input/commands/utils/move_up_1/origin | 3 + .../commands/utils/move_up_selection_1/README | 1 + .../utils/move_up_selection_1/expected | 4 + .../utils/move_up_selection_1/input.js | 9 + .../commands/utils/move_up_selection_1/origin | 3 + .../commands/utils/move_up_selection_2/README | 1 + .../utils/move_up_selection_2/expected | 4 + .../utils/move_up_selection_2/input.js | 8 + .../commands/utils/move_up_selection_2/origin | 3 + autotests/input/encoding/cp1251.txt | 2 + autotests/input/encoding/cyrillic_utf8.txt | 2 + autotests/input/encoding/koi8-r.txt | 2 + autotests/input/encoding/latin15.txt | 7 + .../input/encoding/one-char-latin-15.txt | 1 + autotests/input/encoding/utf16.txt | Bin 0 -> 110 bytes autotests/input/encoding/utf16be.txt | Bin 0 -> 110 bytes autotests/input/encoding/utf32.txt | Bin 0 -> 220 bytes autotests/input/encoding/utf32be.txt | Bin 0 -> 220 bytes autotests/input/encoding/utf8.txt | 7 + autotests/input/indent/R/.kateconfig | 1 + .../input/indent/R/bracketsBreak/expected | 3 + .../input/indent/R/bracketsBreak/input.js | 3 + autotests/input/indent/R/bracketsBreak/origin | 1 + .../input/indent/R/closeBracket/expected | 3 + .../input/indent/R/closeBracket/input.js | 3 + autotests/input/indent/R/closeBracket/origin | 2 + .../input/indent/R/indentAssign/expected | 5 + .../input/indent/R/indentAssign/input.js | 8 + autotests/input/indent/R/indentAssign/origin | 1 + .../input/indent/R/indentBracket/expected | 3 + .../input/indent/R/indentBracket/input.js | 6 + autotests/input/indent/R/indentBracket/origin | 1 + .../input/indent/R/indentFormula/expected | 4 + .../input/indent/R/indentFormula/input.js | 7 + autotests/input/indent/R/indentFormula/origin | 1 + .../input/indent/R/indentOperator/expected | 4 + .../input/indent/R/indentOperator/input.js | 6 + .../input/indent/R/indentOperator/origin | 1 + autotests/input/indent/R/skipComment/expected | 6 + autotests/input/indent/R/skipComment/input.js | 4 + autotests/input/indent/R/skipComment/origin | 4 + autotests/input/indent/ada/.kateconfig | 2 + autotests/input/indent/ada/closepar2/expected | 4 + autotests/input/indent/ada/closepar2/input.js | 5 + autotests/input/indent/ada/closepar2/origin | 3 + autotests/input/indent/ada/longtest/expected | 628 + autotests/input/indent/ada/longtest/input.js | 8 + autotests/input/indent/ada/longtest/origin | 628 + autotests/input/indent/ada/newline/expected | 3 + autotests/input/indent/ada/newline/input.js | 5 + autotests/input/indent/ada/newline/origin | 2 + autotests/input/indent/ada/openpar2/expected | 4 + autotests/input/indent/ada/openpar2/input.js | 5 + autotests/input/indent/ada/openpar2/origin | 2 + autotests/input/indent/ada/prep1/expected | 3 + autotests/input/indent/ada/prep1/input.js | 7 + autotests/input/indent/ada/prep1/origin | 1 + autotests/input/indent/ada/trig1/expected | 4 + autotests/input/indent/ada/trig1/input.js | 8 + autotests/input/indent/ada/trig1/origin | 2 + autotests/input/indent/cmake/.kateconfig | 1 + autotests/input/indent/cmake/enter1/expected | 7 + autotests/input/indent/cmake/enter1/input.js | 7 + autotests/input/indent/cmake/enter1/origin | 3 + autotests/input/indent/cmake/enter2/expected | 2 + autotests/input/indent/cmake/enter2/input.js | 3 + autotests/input/indent/cmake/enter2/origin | 1 + autotests/input/indent/cmake/enter3/expected | 20 + autotests/input/indent/cmake/enter3/input.js | 39 + autotests/input/indent/cmake/enter3/origin | 10 + autotests/input/indent/cmake/paren1/expected | 8 + autotests/input/indent/cmake/paren1/input.js | 11 + autotests/input/indent/cmake/paren1/origin | 8 + autotests/input/indent/cmake/quot1/expected | 7 + autotests/input/indent/cmake/quot1/input.js | 19 + autotests/input/indent/cmake/quot1/origin | 7 + autotests/input/indent/cmake/var1/expected | 4 + autotests/input/indent/cmake/var1/input.js | 15 + autotests/input/indent/cmake/var1/origin | 4 + autotests/input/indent/cppstyle/.kateconfig | 1 + .../indent/cppstyle/autobrackets1/expected | 7 + .../indent/cppstyle/autobrackets1/input.js | 6 + .../indent/cppstyle/autobrackets1/origin | 4 + .../indent/cppstyle/autobrackets2/expected | 10 + .../indent/cppstyle/autobrackets2/input.js | 9 + .../indent/cppstyle/autobrackets2/origin | 6 + .../indent/cppstyle/autobrackets3/expected | 9 + .../indent/cppstyle/autobrackets3/input.js | 8 + .../indent/cppstyle/autobrackets3/origin | 7 + .../input/indent/cppstyle/colon1/expected | 2 + .../input/indent/cppstyle/colon1/input.js | 3 + autotests/input/indent/cppstyle/colon1/origin | 1 + .../input/indent/cppstyle/colon10/expected | 3 + .../input/indent/cppstyle/colon10/input.js | 11 + .../input/indent/cppstyle/colon10/origin | 3 + .../input/indent/cppstyle/colon2/expected | 17 + .../input/indent/cppstyle/colon2/input.js | 20 + autotests/input/indent/cppstyle/colon2/origin | 4 + .../input/indent/cppstyle/colon3/expected | 11 + .../input/indent/cppstyle/colon3/input.js | 12 + autotests/input/indent/cppstyle/colon3/origin | 4 + .../input/indent/cppstyle/colon4/expected | 11 + .../input/indent/cppstyle/colon4/input.js | 12 + autotests/input/indent/cppstyle/colon4/origin | 4 + .../input/indent/cppstyle/colon5/expected | 1 + .../input/indent/cppstyle/colon5/input.js | 3 + autotests/input/indent/cppstyle/colon5/origin | 1 + .../input/indent/cppstyle/colon6/expected | 7 + .../input/indent/cppstyle/colon6/input.js | 5 + autotests/input/indent/cppstyle/colon6/origin | 4 + .../input/indent/cppstyle/colon7/expected | 2 + .../input/indent/cppstyle/colon7/input.js | 10 + autotests/input/indent/cppstyle/colon7/origin | 2 + .../input/indent/cppstyle/colon8/expected | 2 + .../input/indent/cppstyle/colon8/input.js | 7 + autotests/input/indent/cppstyle/colon8/origin | 2 + .../input/indent/cppstyle/colon9/expected | 1 + .../input/indent/cppstyle/colon9/input.js | 3 + autotests/input/indent/cppstyle/colon9/origin | 1 + .../input/indent/cppstyle/comma1/expected | 4 + .../input/indent/cppstyle/comma1/input.js | 3 + autotests/input/indent/cppstyle/comma1/origin | 4 + .../input/indent/cppstyle/comma2/expected | 1 + .../input/indent/cppstyle/comma2/input.js | 3 + autotests/input/indent/cppstyle/comma2/origin | 1 + .../input/indent/cppstyle/comma3/expected | 3 + .../input/indent/cppstyle/comma3/input.js | 4 + autotests/input/indent/cppstyle/comma3/origin | 2 + .../input/indent/cppstyle/comma4/expected | 3 + .../input/indent/cppstyle/comma4/input.js | 11 + autotests/input/indent/cppstyle/comma4/origin | 3 + .../input/indent/cppstyle/comma5/expected | 3 + .../input/indent/cppstyle/comma5/input.js | 11 + autotests/input/indent/cppstyle/comma5/origin | 3 + .../input/indent/cppstyle/comment1/expected | 1 + .../input/indent/cppstyle/comment1/input.js | 4 + .../input/indent/cppstyle/comment1/origin | 1 + .../input/indent/cppstyle/comment10/expected | 3 + .../input/indent/cppstyle/comment10/input.js | 6 + .../input/indent/cppstyle/comment10/origin | 3 + .../input/indent/cppstyle/comment11/expected | 1 + .../input/indent/cppstyle/comment11/input.js | 6 + .../input/indent/cppstyle/comment11/origin | 1 + .../input/indent/cppstyle/comment12/expected | 2 + .../input/indent/cppstyle/comment12/input.js | 3 + .../input/indent/cppstyle/comment12/origin | 1 + .../input/indent/cppstyle/comment13/expected | 3 + .../input/indent/cppstyle/comment13/input.js | 3 + .../input/indent/cppstyle/comment13/origin | 1 + .../input/indent/cppstyle/comment14/expected | 4 + .../input/indent/cppstyle/comment14/input.js | 3 + .../input/indent/cppstyle/comment14/origin | 3 + .../input/indent/cppstyle/comment15/expected | 5 + .../input/indent/cppstyle/comment15/input.js | 3 + .../input/indent/cppstyle/comment15/origin | 4 + .../input/indent/cppstyle/comment16/expected | 1 + .../input/indent/cppstyle/comment16/input.js | 4 + .../input/indent/cppstyle/comment16/origin | 1 + .../input/indent/cppstyle/comment17/expected | 1 + .../input/indent/cppstyle/comment17/input.js | 4 + .../input/indent/cppstyle/comment17/origin | 1 + .../input/indent/cppstyle/comment18/expected | 2 + .../input/indent/cppstyle/comment18/input.js | 4 + .../input/indent/cppstyle/comment18/origin | 1 + .../input/indent/cppstyle/comment19/expected | 1 + .../input/indent/cppstyle/comment19/input.js | 4 + .../input/indent/cppstyle/comment19/origin | 1 + .../input/indent/cppstyle/comment2/expected | 1 + .../input/indent/cppstyle/comment2/input.js | 5 + .../input/indent/cppstyle/comment2/origin | 1 + .../input/indent/cppstyle/comment20/expected | 1 + .../input/indent/cppstyle/comment20/input.js | 7 + .../input/indent/cppstyle/comment20/origin | 0 .../input/indent/cppstyle/comment3/expected | 2 + .../input/indent/cppstyle/comment3/input.js | 3 + .../input/indent/cppstyle/comment3/origin | 1 + .../input/indent/cppstyle/comment4/expected | 2 + .../input/indent/cppstyle/comment4/input.js | 2 + .../input/indent/cppstyle/comment4/origin | 1 + .../input/indent/cppstyle/comment5/expected | 2 + .../input/indent/cppstyle/comment5/input.js | 2 + .../input/indent/cppstyle/comment5/origin | 1 + .../input/indent/cppstyle/comment6/expected | 2 + .../input/indent/cppstyle/comment6/input.js | 2 + .../input/indent/cppstyle/comment6/origin | 1 + .../input/indent/cppstyle/comment7/expected | 3 + .../input/indent/cppstyle/comment7/input.js | 3 + .../input/indent/cppstyle/comment7/origin | 1 + .../input/indent/cppstyle/comment8/expected | 3 + .../input/indent/cppstyle/comment8/input.js | 3 + .../input/indent/cppstyle/comment8/origin | 1 + .../input/indent/cppstyle/comment9/expected | 4 + .../input/indent/cppstyle/comment9/input.js | 3 + .../input/indent/cppstyle/comment9/origin | 3 + autotests/input/indent/cppstyle/do1/expected | 2 + autotests/input/indent/cppstyle/do1/input.js | 3 + autotests/input/indent/cppstyle/do1/origin | 1 + autotests/input/indent/cppstyle/dot1/expected | 3 + autotests/input/indent/cppstyle/dot1/input.js | 8 + autotests/input/indent/cppstyle/dot1/origin | 3 + autotests/input/indent/cppstyle/dot2/expected | 11 + autotests/input/indent/cppstyle/dot2/input.js | 30 + autotests/input/indent/cppstyle/dot2/origin | 11 + autotests/input/indent/cppstyle/dot3/expected | 3 + autotests/input/indent/cppstyle/dot3/input.js | 17 + autotests/input/indent/cppstyle/dot3/origin | 3 + .../input/indent/cppstyle/doxygen1/expected | 3 + .../input/indent/cppstyle/doxygen1/input.js | 3 + .../input/indent/cppstyle/doxygen1/origin | 1 + .../input/indent/cppstyle/doxygen2/expected | 3 + .../input/indent/cppstyle/doxygen2/input.js | 3 + .../input/indent/cppstyle/doxygen2/origin | 1 + .../input/indent/cppstyle/doxygen3/expected | 4 + .../input/indent/cppstyle/doxygen3/input.js | 3 + .../input/indent/cppstyle/doxygen3/origin | 3 + .../input/indent/cppstyle/doxygen4/expected | 1 + .../input/indent/cppstyle/doxygen4/input.js | 3 + .../input/indent/cppstyle/doxygen4/origin | 1 + .../input/indent/cppstyle/doxygen5/expected | 4 + .../input/indent/cppstyle/doxygen5/input.js | 2 + .../input/indent/cppstyle/doxygen5/origin | 3 + .../input/indent/cppstyle/doxygen6/expected | 1 + .../input/indent/cppstyle/doxygen6/input.js | 3 + .../input/indent/cppstyle/doxygen6/origin | 1 + .../input/indent/cppstyle/doxygen7/expected | 1 + .../input/indent/cppstyle/doxygen7/input.js | 3 + .../input/indent/cppstyle/doxygen7/origin | 1 + .../input/indent/cppstyle/doxygen8/expected | 1 + .../input/indent/cppstyle/doxygen8/input.js | 3 + .../input/indent/cppstyle/doxygen8/origin | 1 + .../input/indent/cppstyle/doxygen9/expected | 3 + .../input/indent/cppstyle/doxygen9/input.js | 3 + .../input/indent/cppstyle/doxygen9/origin | 1 + .../input/indent/cppstyle/equal1/expected | 2 + .../input/indent/cppstyle/equal1/input.js | 3 + autotests/input/indent/cppstyle/equal1/origin | 1 + .../input/indent/cppstyle/equal2/expected | 2 + .../input/indent/cppstyle/equal2/input.js | 2 + autotests/input/indent/cppstyle/equal2/origin | 1 + .../input/indent/cppstyle/equal3/expected | 10 + .../input/indent/cppstyle/equal3/input.js | 50 + autotests/input/indent/cppstyle/equal3/origin | 10 + .../input/indent/cppstyle/equal4/expected | 1 + .../input/indent/cppstyle/equal4/input.js | 4 + autotests/input/indent/cppstyle/equal4/origin | 1 + .../input/indent/cppstyle/equal5/expected | 3 + .../input/indent/cppstyle/equal5/input.js | 18 + autotests/input/indent/cppstyle/equal5/origin | 3 + .../input/indent/cppstyle/equal6/expected | 2 + .../input/indent/cppstyle/equal6/input.js | 9 + autotests/input/indent/cppstyle/equal6/origin | 2 + .../indent/cppstyle/exclamation1/expected | 1 + .../indent/cppstyle/exclamation1/input.js | 3 + .../input/indent/cppstyle/exclamation1/origin | 1 + .../indent/cppstyle/exclamation2/expected | 1 + .../indent/cppstyle/exclamation2/input.js | 3 + .../input/indent/cppstyle/exclamation2/origin | 1 + .../indent/cppstyle/exclamation3/expected | 1 + .../indent/cppstyle/exclamation3/input.js | 3 + .../input/indent/cppstyle/exclamation3/origin | 1 + .../indent/cppstyle/exclamation4/expected | 1 + .../indent/cppstyle/exclamation4/input.js | 3 + .../input/indent/cppstyle/exclamation4/origin | 1 + .../indent/cppstyle/exclamation5/expected | 1 + .../indent/cppstyle/exclamation5/input.js | 3 + .../input/indent/cppstyle/exclamation5/origin | 1 + autotests/input/indent/cppstyle/for1/expected | 2 + autotests/input/indent/cppstyle/for1/input.js | 4 + autotests/input/indent/cppstyle/for1/origin | 1 + autotests/input/indent/cppstyle/for2/expected | 3 + autotests/input/indent/cppstyle/for2/input.js | 4 + autotests/input/indent/cppstyle/for2/origin | 2 + autotests/input/indent/cppstyle/lab1/expected | 1 + autotests/input/indent/cppstyle/lab1/input.js | 3 + autotests/input/indent/cppstyle/lab1/origin | 1 + .../input/indent/cppstyle/lab10/expected | 1 + .../input/indent/cppstyle/lab10/input.js | 3 + autotests/input/indent/cppstyle/lab10/origin | 1 + autotests/input/indent/cppstyle/lab2/expected | 1 + autotests/input/indent/cppstyle/lab2/input.js | 3 + autotests/input/indent/cppstyle/lab2/origin | 1 + autotests/input/indent/cppstyle/lab3/expected | 1 + autotests/input/indent/cppstyle/lab3/input.js | 3 + autotests/input/indent/cppstyle/lab3/origin | 1 + autotests/input/indent/cppstyle/lab4/expected | 1 + autotests/input/indent/cppstyle/lab4/input.js | 3 + autotests/input/indent/cppstyle/lab4/origin | 1 + autotests/input/indent/cppstyle/lab5/expected | 1 + autotests/input/indent/cppstyle/lab5/input.js | 3 + autotests/input/indent/cppstyle/lab5/origin | 1 + autotests/input/indent/cppstyle/lab6/expected | 1 + autotests/input/indent/cppstyle/lab6/input.js | 3 + autotests/input/indent/cppstyle/lab6/origin | 1 + autotests/input/indent/cppstyle/lab7/expected | 1 + autotests/input/indent/cppstyle/lab7/input.js | 2 + autotests/input/indent/cppstyle/lab7/origin | 1 + autotests/input/indent/cppstyle/lab8/expected | 1 + autotests/input/indent/cppstyle/lab8/input.js | 3 + autotests/input/indent/cppstyle/lab8/origin | 1 + autotests/input/indent/cppstyle/lab9/expected | 1 + autotests/input/indent/cppstyle/lab9/input.js | 4 + autotests/input/indent/cppstyle/lab9/origin | 1 + .../input/indent/cppstyle/normal1/expected | 3 + .../input/indent/cppstyle/normal1/input.js | 3 + .../input/indent/cppstyle/normal1/origin | 2 + .../input/indent/cppstyle/normal10/expected | 1 + .../input/indent/cppstyle/normal10/input.js | 6 + .../input/indent/cppstyle/normal10/origin | 1 + .../input/indent/cppstyle/normal11/expected | 1 + .../input/indent/cppstyle/normal11/input.js | 4 + .../input/indent/cppstyle/normal11/origin | 1 + .../input/indent/cppstyle/normal12/expected | 2 + .../input/indent/cppstyle/normal12/input.js | 3 + .../input/indent/cppstyle/normal12/origin | 1 + .../input/indent/cppstyle/normal13/expected | 6 + .../input/indent/cppstyle/normal13/input.js | 3 + .../input/indent/cppstyle/normal13/origin | 5 + .../input/indent/cppstyle/normal14/expected | 4 + .../input/indent/cppstyle/normal14/input.js | 3 + .../input/indent/cppstyle/normal14/origin | 3 + .../input/indent/cppstyle/normal15/expected | 4 + .../input/indent/cppstyle/normal15/input.js | 3 + .../input/indent/cppstyle/normal15/origin | 3 + .../input/indent/cppstyle/normal16/expected | 4 + .../input/indent/cppstyle/normal16/input.js | 3 + .../input/indent/cppstyle/normal16/origin | 3 + .../input/indent/cppstyle/normal17/expected | 4 + .../input/indent/cppstyle/normal17/input.js | 3 + .../input/indent/cppstyle/normal17/origin | 3 + .../input/indent/cppstyle/normal18/expected | 6 + .../input/indent/cppstyle/normal18/input.js | 3 + .../input/indent/cppstyle/normal18/origin | 5 + .../input/indent/cppstyle/normal19/expected | 5 + .../input/indent/cppstyle/normal19/input.js | 3 + .../input/indent/cppstyle/normal19/origin | 4 + .../input/indent/cppstyle/normal2/expected | 3 + .../input/indent/cppstyle/normal2/input.js | 2 + .../input/indent/cppstyle/normal2/origin | 2 + .../input/indent/cppstyle/normal20/expected | 4 + .../input/indent/cppstyle/normal20/input.js | 3 + .../input/indent/cppstyle/normal20/origin | 3 + .../input/indent/cppstyle/normal21/expected | 1 + .../input/indent/cppstyle/normal21/input.js | 2 + .../input/indent/cppstyle/normal21/origin | 1 + .../input/indent/cppstyle/normal22/expected | 6 + .../input/indent/cppstyle/normal22/input.js | 3 + .../input/indent/cppstyle/normal22/origin | 5 + .../input/indent/cppstyle/normal23/expected | 4 + .../input/indent/cppstyle/normal23/input.js | 7 + .../input/indent/cppstyle/normal23/origin | 2 + .../input/indent/cppstyle/normal24/expected | 4 + .../input/indent/cppstyle/normal24/input.js | 3 + .../input/indent/cppstyle/normal24/origin | 1 + .../input/indent/cppstyle/normal25/expected | 8 + .../input/indent/cppstyle/normal25/input.js | 3 + .../input/indent/cppstyle/normal25/origin | 5 + .../input/indent/cppstyle/normal3/expected | 3 + .../input/indent/cppstyle/normal3/input.js | 2 + .../input/indent/cppstyle/normal3/origin | 2 + .../input/indent/cppstyle/normal4/expected | 5 + .../input/indent/cppstyle/normal4/input.js | 4 + .../input/indent/cppstyle/normal4/origin | 4 + .../input/indent/cppstyle/normal5/expected | 4 + .../input/indent/cppstyle/normal5/input.js | 4 + .../input/indent/cppstyle/normal5/origin | 3 + .../input/indent/cppstyle/normal6/expected | 7 + .../input/indent/cppstyle/normal6/input.js | 5 + .../input/indent/cppstyle/normal6/origin | 5 + .../input/indent/cppstyle/normal7/expected | 1 + .../input/indent/cppstyle/normal7/input.js | 3 + .../input/indent/cppstyle/normal7/origin | 1 + .../input/indent/cppstyle/normal8/expected | 3 + .../input/indent/cppstyle/normal8/input.js | 3 + .../input/indent/cppstyle/normal8/origin | 2 + .../input/indent/cppstyle/normal9/expected | 1 + .../input/indent/cppstyle/normal9/input.js | 4 + .../input/indent/cppstyle/normal9/origin | 1 + .../input/indent/cppstyle/parens1/expected | 2 + .../input/indent/cppstyle/parens1/input.js | 3 + .../input/indent/cppstyle/parens1/origin | 1 + .../input/indent/cppstyle/pipe1/expected | 9 + .../input/indent/cppstyle/pipe1/input.js | 36 + autotests/input/indent/cppstyle/pipe1/origin | 9 + .../input/indent/cppstyle/plist1/expected | 3 + .../input/indent/cppstyle/plist1/input.js | 3 + autotests/input/indent/cppstyle/plist1/origin | 1 + .../input/indent/cppstyle/plist2/expected | 4 + .../input/indent/cppstyle/plist2/input.js | 3 + autotests/input/indent/cppstyle/plist2/origin | 3 + .../input/indent/cppstyle/plist3/expected | 3 + .../input/indent/cppstyle/plist3/input.js | 3 + autotests/input/indent/cppstyle/plist3/origin | 1 + .../indent/cppstyle/preprocessor1/expected | 1 + .../indent/cppstyle/preprocessor1/input.js | 3 + .../indent/cppstyle/preprocessor1/origin | 1 + .../indent/cppstyle/preprocessor2/expected | 2 + .../indent/cppstyle/preprocessor2/input.js | 3 + .../indent/cppstyle/preprocessor2/origin | 2 + .../indent/cppstyle/preprocessor3/expected | 5 + .../indent/cppstyle/preprocessor3/input.js | 3 + .../indent/cppstyle/preprocessor3/origin | 5 + .../indent/cppstyle/preprocessor4/expected | 2 + .../indent/cppstyle/preprocessor4/input.js | 4 + .../indent/cppstyle/preprocessor4/origin | 1 + .../indent/cppstyle/preprocessor5/expected | 3 + .../indent/cppstyle/preprocessor5/input.js | 4 + .../indent/cppstyle/preprocessor5/origin | 2 + .../indent/cppstyle/preprocessor6/expected | 3 + .../indent/cppstyle/preprocessor6/input.js | 4 + .../indent/cppstyle/preprocessor6/origin | 2 + .../input/indent/cppstyle/quote1/expected | 2 + .../input/indent/cppstyle/quote1/input.js | 5 + autotests/input/indent/cppstyle/quote1/origin | 2 + .../input/indent/cppstyle/quote2/expected | 1 + .../input/indent/cppstyle/quote2/input.js | 3 + autotests/input/indent/cppstyle/quote2/origin | 1 + .../input/indent/cppstyle/quote3/expected | 1 + .../input/indent/cppstyle/quote3/input.js | 3 + autotests/input/indent/cppstyle/quote3/origin | 1 + .../input/indent/cppstyle/quote4/expected | 3 + .../input/indent/cppstyle/quote4/input.js | 11 + autotests/input/indent/cppstyle/quote4/origin | 3 + .../input/indent/cppstyle/semicolon1/expected | 2 + .../input/indent/cppstyle/semicolon1/input.js | 3 + .../input/indent/cppstyle/semicolon1/origin | 2 + .../input/indent/cppstyle/semicolon2/expected | 3 + .../input/indent/cppstyle/semicolon2/input.js | 3 + .../input/indent/cppstyle/semicolon2/origin | 3 + .../input/indent/cppstyle/semicolon3/expected | 4 + .../input/indent/cppstyle/semicolon3/input.js | 3 + .../input/indent/cppstyle/semicolon3/origin | 4 + .../input/indent/cppstyle/semicolon4/expected | 1 + .../input/indent/cppstyle/semicolon4/input.js | 3 + .../input/indent/cppstyle/semicolon4/origin | 1 + .../input/indent/cppstyle/semicolon5/expected | 1 + .../input/indent/cppstyle/semicolon5/input.js | 3 + .../input/indent/cppstyle/semicolon5/origin | 1 + .../input/indent/cppstyle/semicolon6/expected | 1 + .../input/indent/cppstyle/semicolon6/input.js | 3 + .../input/indent/cppstyle/semicolon6/origin | 1 + .../input/indent/cppstyle/semicolon7/expected | 1 + .../input/indent/cppstyle/semicolon7/input.js | 4 + .../input/indent/cppstyle/semicolon7/origin | 1 + .../input/indent/cppstyle/semicolon8/expected | 1 + .../input/indent/cppstyle/semicolon8/input.js | 3 + .../input/indent/cppstyle/semicolon8/origin | 1 + .../input/indent/cppstyle/shortcut1/expected | 1 + .../input/indent/cppstyle/shortcut1/input.js | 3 + .../input/indent/cppstyle/shortcut1/origin | 1 + .../input/indent/cppstyle/shortcut10/expected | 1 + .../input/indent/cppstyle/shortcut10/input.js | 3 + .../input/indent/cppstyle/shortcut10/origin | 1 + .../input/indent/cppstyle/shortcut11/expected | 1 + .../input/indent/cppstyle/shortcut11/input.js | 3 + .../input/indent/cppstyle/shortcut11/origin | 1 + .../input/indent/cppstyle/shortcut12/expected | 1 + .../input/indent/cppstyle/shortcut12/input.js | 3 + .../input/indent/cppstyle/shortcut12/origin | 1 + .../input/indent/cppstyle/shortcut2/expected | 2 + .../input/indent/cppstyle/shortcut2/input.js | 7 + .../input/indent/cppstyle/shortcut2/origin | 2 + .../input/indent/cppstyle/shortcut3/expected | 1 + .../input/indent/cppstyle/shortcut3/input.js | 3 + .../input/indent/cppstyle/shortcut3/origin | 1 + .../input/indent/cppstyle/shortcut4/expected | 1 + .../input/indent/cppstyle/shortcut4/input.js | 3 + .../input/indent/cppstyle/shortcut4/origin | 1 + .../input/indent/cppstyle/shortcut6/expected | 6 + .../input/indent/cppstyle/shortcut6/input.js | 23 + .../input/indent/cppstyle/shortcut6/origin | 6 + .../input/indent/cppstyle/shortcut7/expected | 1 + .../input/indent/cppstyle/shortcut7/input.js | 3 + .../input/indent/cppstyle/shortcut7/origin | 1 + .../input/indent/cppstyle/shortcut8/expected | 1 + .../input/indent/cppstyle/shortcut8/input.js | 3 + .../input/indent/cppstyle/shortcut8/origin | 1 + .../input/indent/cppstyle/shortcut9/expected | 1 + .../input/indent/cppstyle/shortcut9/input.js | 3 + .../input/indent/cppstyle/shortcut9/origin | 1 + .../input/indent/cppstyle/space1/expected | 1 + .../input/indent/cppstyle/space1/input.js | 3 + autotests/input/indent/cppstyle/space1/origin | 1 + .../input/indent/cppstyle/space2/expected | 1 + .../input/indent/cppstyle/space2/input.js | 4 + autotests/input/indent/cppstyle/space2/origin | 1 + .../input/indent/cppstyle/string1/expected | 2 + .../input/indent/cppstyle/string1/input.js | 3 + .../input/indent/cppstyle/string1/origin | 1 + .../input/indent/cppstyle/string2/expected | 3 + .../input/indent/cppstyle/string2/input.js | 7 + .../input/indent/cppstyle/string2/origin | 1 + .../input/indent/cppstyle/string3/expected | 2 + .../input/indent/cppstyle/string3/input.js | 3 + .../input/indent/cppstyle/string3/origin | 1 + .../input/indent/cppstyle/string4/expected | 3 + .../input/indent/cppstyle/string4/input.js | 7 + .../input/indent/cppstyle/string4/origin | 1 + .../input/indent/cppstyle/string5/expected | 2 + .../input/indent/cppstyle/string5/input.js | 3 + .../input/indent/cppstyle/string5/origin | 1 + .../input/indent/cppstyle/string6/expected | 5 + .../input/indent/cppstyle/string6/input.js | 8 + .../input/indent/cppstyle/string6/origin | 3 + .../indent/cppstyle/ternary_op1/expected | 4 + .../indent/cppstyle/ternary_op1/input.js | 4 + .../input/indent/cppstyle/ternary_op1/origin | 3 + .../indent/cppstyle/ternary_op2/expected | 1 + .../indent/cppstyle/ternary_op2/input.js | 3 + .../input/indent/cppstyle/ternary_op2/origin | 1 + .../indent/cppstyle/ternary_op3/expected | 5 + .../indent/cppstyle/ternary_op3/input.js | 4 + .../input/indent/cppstyle/ternary_op3/origin | 4 + autotests/input/indent/cstyle/.kateconfig | 1 + autotests/input/indent/cstyle/137157/expected | 6 + autotests/input/indent/cstyle/137157/input.js | 3 + autotests/input/indent/cstyle/137157/origin | 5 + autotests/input/indent/cstyle/360456/expected | 4 + autotests/input/indent/cstyle/360456/input.js | 3 + autotests/input/indent/cstyle/360456/origin | 3 + .../input/indent/cstyle/alignbrace/expected | 3 + .../input/indent/cstyle/alignbrace/input.js | 2 + .../input/indent/cstyle/alignbrace/origin | 3 + .../input/indent/cstyle/aplist1/expected | 3 + .../input/indent/cstyle/aplist1/input.js | 3 + autotests/input/indent/cstyle/aplist1/origin | 2 + .../input/indent/cstyle/aplist10/expected | 3 + .../input/indent/cstyle/aplist10/input.js | 3 + autotests/input/indent/cstyle/aplist10/origin | 2 + .../input/indent/cstyle/aplist11/expected | 4 + .../input/indent/cstyle/aplist11/input.js | 3 + autotests/input/indent/cstyle/aplist11/origin | 3 + .../input/indent/cstyle/aplist12/expected | 5 + .../input/indent/cstyle/aplist12/input.js | 4 + autotests/input/indent/cstyle/aplist12/origin | 4 + .../input/indent/cstyle/aplist13/expected | 4 + .../input/indent/cstyle/aplist13/input.js | 2 + autotests/input/indent/cstyle/aplist13/origin | 3 + .../input/indent/cstyle/aplist14/expected | 4 + .../input/indent/cstyle/aplist14/input.js | 2 + autotests/input/indent/cstyle/aplist14/origin | 3 + .../input/indent/cstyle/aplist15/expected | 5 + .../input/indent/cstyle/aplist15/input.js | 2 + autotests/input/indent/cstyle/aplist15/origin | 4 + .../input/indent/cstyle/aplist16/expected | 5 + .../input/indent/cstyle/aplist16/input.js | 2 + autotests/input/indent/cstyle/aplist16/origin | 4 + .../input/indent/cstyle/aplist17/expected | 4 + .../input/indent/cstyle/aplist17/input.js | 2 + autotests/input/indent/cstyle/aplist17/origin | 3 + .../input/indent/cstyle/aplist18/expected | 4 + .../input/indent/cstyle/aplist18/input.js | 2 + autotests/input/indent/cstyle/aplist18/origin | 3 + .../input/indent/cstyle/aplist19/expected | 5 + .../input/indent/cstyle/aplist19/input.js | 2 + autotests/input/indent/cstyle/aplist19/origin | 4 + .../input/indent/cstyle/aplist2/expected | 4 + .../input/indent/cstyle/aplist2/input.js | 3 + autotests/input/indent/cstyle/aplist2/origin | 3 + .../input/indent/cstyle/aplist20/expected | 5 + .../input/indent/cstyle/aplist20/input.js | 2 + autotests/input/indent/cstyle/aplist20/origin | 4 + .../input/indent/cstyle/aplist3/expected | 5 + .../input/indent/cstyle/aplist3/input.js | 4 + autotests/input/indent/cstyle/aplist3/origin | 4 + .../input/indent/cstyle/aplist4/expected | 4 + .../input/indent/cstyle/aplist4/input.js | 3 + autotests/input/indent/cstyle/aplist4/origin | 3 + .../input/indent/cstyle/aplist5/expected | 5 + .../input/indent/cstyle/aplist5/input.js | 4 + autotests/input/indent/cstyle/aplist5/origin | 4 + .../input/indent/cstyle/aplist6/expected | 5 + .../input/indent/cstyle/aplist6/input.js | 4 + autotests/input/indent/cstyle/aplist6/origin | 4 + .../input/indent/cstyle/aplist8/expected | 3 + .../input/indent/cstyle/aplist8/input.js | 3 + autotests/input/indent/cstyle/aplist8/origin | 2 + .../input/indent/cstyle/aplist9/expected | 4 + .../input/indent/cstyle/aplist9/input.js | 4 + autotests/input/indent/cstyle/aplist9/origin | 3 + autotests/input/indent/cstyle/brace1/expected | 3 + autotests/input/indent/cstyle/brace1/input.js | 3 + autotests/input/indent/cstyle/brace1/origin | 2 + autotests/input/indent/cstyle/brace2/expected | 5 + autotests/input/indent/cstyle/brace2/input.js | 2 + autotests/input/indent/cstyle/brace2/origin | 5 + .../input/indent/cstyle/clospar1/expected | 3 + .../input/indent/cstyle/clospar1/input.js | 3 + autotests/input/indent/cstyle/clospar1/origin | 2 + .../input/indent/cstyle/clospar2/expected | 4 + .../input/indent/cstyle/clospar2/input.js | 3 + autotests/input/indent/cstyle/clospar2/origin | 3 + .../input/indent/cstyle/clospar3/expected | 4 + .../input/indent/cstyle/clospar3/input.js | 2 + autotests/input/indent/cstyle/clospar3/origin | 2 + .../input/indent/cstyle/clospar4/expected | 5 + .../input/indent/cstyle/clospar4/input.js | 2 + autotests/input/indent/cstyle/clospar4/origin | 3 + autotests/input/indent/cstyle/comma1/expected | 3 + autotests/input/indent/cstyle/comma1/input.js | 3 + autotests/input/indent/cstyle/comma1/origin | 2 + autotests/input/indent/cstyle/comma2/expected | 3 + autotests/input/indent/cstyle/comma2/input.js | 2 + autotests/input/indent/cstyle/comma2/origin | 2 + autotests/input/indent/cstyle/comma3/expected | 3 + autotests/input/indent/cstyle/comma3/input.js | 3 + autotests/input/indent/cstyle/comma3/origin | 2 + autotests/input/indent/cstyle/comma4/expected | 3 + autotests/input/indent/cstyle/comma4/input.js | 2 + autotests/input/indent/cstyle/comma4/origin | 2 + autotests/input/indent/cstyle/comma5/expected | 2 + autotests/input/indent/cstyle/comma5/input.js | 3 + autotests/input/indent/cstyle/comma5/origin | 1 + autotests/input/indent/cstyle/comma6/expected | 2 + autotests/input/indent/cstyle/comma6/input.js | 2 + autotests/input/indent/cstyle/comma6/origin | 1 + .../input/indent/cstyle/comment1/expected | 4 + .../input/indent/cstyle/comment1/input.js | 3 + autotests/input/indent/cstyle/comment1/origin | 3 + .../input/indent/cstyle/comment2/expected | 2 + .../input/indent/cstyle/comment2/input.js | 3 + autotests/input/indent/cstyle/comment2/origin | 1 + autotests/input/indent/cstyle/do1/expected | 3 + autotests/input/indent/cstyle/do1/input.js | 3 + autotests/input/indent/cstyle/do1/origin | 2 + autotests/input/indent/cstyle/do2/expected | 4 + autotests/input/indent/cstyle/do2/input.js | 3 + autotests/input/indent/cstyle/do2/origin | 3 + autotests/input/indent/cstyle/do3/expected | 3 + autotests/input/indent/cstyle/do3/input.js | 3 + autotests/input/indent/cstyle/do3/origin | 2 + .../input/indent/cstyle/doxygen1/expected | 3 + .../input/indent/cstyle/doxygen1/input.js | 3 + autotests/input/indent/cstyle/doxygen1/origin | 2 + .../input/indent/cstyle/doxygen10/expected | 4 + .../input/indent/cstyle/doxygen10/input.js | 3 + .../input/indent/cstyle/doxygen10/origin | 3 + .../input/indent/cstyle/doxygen2/expected | 4 + .../input/indent/cstyle/doxygen2/input.js | 3 + autotests/input/indent/cstyle/doxygen2/origin | 3 + .../input/indent/cstyle/doxygen3/expected | 5 + .../input/indent/cstyle/doxygen3/input.js | 3 + autotests/input/indent/cstyle/doxygen3/origin | 4 + .../input/indent/cstyle/doxygen4/expected | 6 + .../input/indent/cstyle/doxygen4/input.js | 3 + autotests/input/indent/cstyle/doxygen4/origin | 5 + .../input/indent/cstyle/doxygen5/expected | 2 + .../input/indent/cstyle/doxygen5/input.js | 2 + autotests/input/indent/cstyle/doxygen5/origin | 2 + .../input/indent/cstyle/doxygen6/expected | 3 + .../input/indent/cstyle/doxygen6/input.js | 3 + autotests/input/indent/cstyle/doxygen6/origin | 2 + .../input/indent/cstyle/doxygen7/expected | 3 + .../input/indent/cstyle/doxygen7/input.js | 3 + autotests/input/indent/cstyle/doxygen7/origin | 2 + .../input/indent/cstyle/doxygen8/expected | 2 + .../input/indent/cstyle/doxygen8/input.js | 3 + autotests/input/indent/cstyle/doxygen8/origin | 1 + .../input/indent/cstyle/doxygen9/expected | 3 + .../input/indent/cstyle/doxygen9/input.js | 3 + autotests/input/indent/cstyle/doxygen9/origin | 2 + autotests/input/indent/cstyle/for1/expected | 3 + autotests/input/indent/cstyle/for1/input.js | 3 + autotests/input/indent/cstyle/for1/origin | 2 + autotests/input/indent/cstyle/for2/expected | 5 + autotests/input/indent/cstyle/for2/input.js | 4 + autotests/input/indent/cstyle/for2/origin | 4 + autotests/input/indent/cstyle/for3/expected | 3 + autotests/input/indent/cstyle/for3/input.js | 3 + autotests/input/indent/cstyle/for3/origin | 2 + autotests/input/indent/cstyle/for4/expected | 4 + autotests/input/indent/cstyle/for4/input.js | 3 + autotests/input/indent/cstyle/for4/origin | 3 + autotests/input/indent/cstyle/for5/expected | 3 + autotests/input/indent/cstyle/for5/input.js | 3 + autotests/input/indent/cstyle/for5/origin | 2 + .../input/indent/cstyle/foreign1/expected | 3 + .../input/indent/cstyle/foreign1/input.js | 3 + autotests/input/indent/cstyle/foreign1/origin | 2 + .../input/indent/cstyle/foreign2/expected | 4 + .../input/indent/cstyle/foreign2/input.js | 3 + autotests/input/indent/cstyle/foreign2/origin | 3 + .../input/indent/cstyle/foreign3/expected | 3 + .../input/indent/cstyle/foreign3/input.js | 3 + autotests/input/indent/cstyle/foreign3/origin | 2 + autotests/input/indent/cstyle/if1/expected | 3 + autotests/input/indent/cstyle/if1/input.js | 3 + autotests/input/indent/cstyle/if1/origin | 2 + autotests/input/indent/cstyle/if10/expected | 2 + autotests/input/indent/cstyle/if10/input.js | 2 + autotests/input/indent/cstyle/if10/origin | 1 + autotests/input/indent/cstyle/if11/expected | 6 + autotests/input/indent/cstyle/if11/input.js | 2 + autotests/input/indent/cstyle/if11/origin | 5 + autotests/input/indent/cstyle/if2/expected | 4 + autotests/input/indent/cstyle/if2/input.js | 3 + autotests/input/indent/cstyle/if2/origin | 3 + autotests/input/indent/cstyle/if3/expected | 5 + autotests/input/indent/cstyle/if3/input.js | 3 + autotests/input/indent/cstyle/if3/origin | 4 + autotests/input/indent/cstyle/if4/expected | 6 + autotests/input/indent/cstyle/if4/input.js | 3 + autotests/input/indent/cstyle/if4/origin | 5 + autotests/input/indent/cstyle/if5/expected | 5 + autotests/input/indent/cstyle/if5/input.js | 3 + autotests/input/indent/cstyle/if5/origin | 4 + autotests/input/indent/cstyle/if6/expected | 3 + autotests/input/indent/cstyle/if6/input.js | 3 + autotests/input/indent/cstyle/if6/origin | 2 + autotests/input/indent/cstyle/if7/expected | 5 + autotests/input/indent/cstyle/if7/input.js | 3 + autotests/input/indent/cstyle/if7/origin | 4 + autotests/input/indent/cstyle/if8/expected | 6 + autotests/input/indent/cstyle/if8/input.js | 3 + autotests/input/indent/cstyle/if8/origin | 5 + autotests/input/indent/cstyle/if9/expected | 5 + autotests/input/indent/cstyle/if9/input.js | 3 + autotests/input/indent/cstyle/if9/origin | 4 + .../input/indent/cstyle/normal1/expected | 3 + .../input/indent/cstyle/normal1/input.js | 3 + autotests/input/indent/cstyle/normal1/origin | 2 + .../input/indent/cstyle/normal2/expected | 3 + .../input/indent/cstyle/normal2/input.js | 2 + autotests/input/indent/cstyle/normal2/origin | 2 + .../input/indent/cstyle/normal3/expected | 3 + .../input/indent/cstyle/normal3/input.js | 2 + autotests/input/indent/cstyle/normal3/origin | 2 + .../input/indent/cstyle/openpar1/expected | 2 + .../input/indent/cstyle/openpar1/input.js | 3 + autotests/input/indent/cstyle/openpar1/origin | 1 + .../input/indent/cstyle/openpar10/expected | 5 + .../input/indent/cstyle/openpar10/input.js | 4 + .../input/indent/cstyle/openpar10/origin | 4 + .../input/indent/cstyle/openpar11/expected | 7 + .../input/indent/cstyle/openpar11/input.js | 5 + .../input/indent/cstyle/openpar11/origin | 6 + .../input/indent/cstyle/openpar12/expected | 7 + .../input/indent/cstyle/openpar12/input.js | 6 + .../input/indent/cstyle/openpar12/origin | 4 + .../input/indent/cstyle/openpar2/expected | 3 + .../input/indent/cstyle/openpar2/input.js | 5 + autotests/input/indent/cstyle/openpar2/origin | 1 + .../input/indent/cstyle/openpar3/expected | 2 + .../input/indent/cstyle/openpar3/input.js | 2 + autotests/input/indent/cstyle/openpar3/origin | 1 + .../input/indent/cstyle/openpar4/expected | 2 + .../input/indent/cstyle/openpar4/input.js | 2 + autotests/input/indent/cstyle/openpar4/origin | 1 + .../input/indent/cstyle/openpar5/expected | 2 + .../input/indent/cstyle/openpar5/input.js | 2 + autotests/input/indent/cstyle/openpar5/origin | 1 + .../input/indent/cstyle/openpar6/expected | 3 + .../input/indent/cstyle/openpar6/input.js | 2 + autotests/input/indent/cstyle/openpar6/origin | 2 + .../input/indent/cstyle/openpar7/expected | 3 + .../input/indent/cstyle/openpar7/input.js | 2 + autotests/input/indent/cstyle/openpar7/origin | 2 + .../input/indent/cstyle/openpar8/expected | 3 + .../input/indent/cstyle/openpar8/input.js | 2 + autotests/input/indent/cstyle/openpar8/origin | 2 + .../input/indent/cstyle/openpar9/expected | 5 + .../input/indent/cstyle/openpar9/input.js | 4 + autotests/input/indent/cstyle/openpar9/origin | 4 + autotests/input/indent/cstyle/plist1/expected | 2 + autotests/input/indent/cstyle/plist1/input.js | 3 + autotests/input/indent/cstyle/plist1/origin | 1 + .../input/indent/cstyle/plist10/expected | 2 + .../input/indent/cstyle/plist10/input.js | 2 + autotests/input/indent/cstyle/plist10/origin | 1 + .../input/indent/cstyle/plist11/expected | 3 + .../input/indent/cstyle/plist11/input.js | 2 + autotests/input/indent/cstyle/plist11/origin | 2 + .../input/indent/cstyle/plist12/expected | 4 + .../input/indent/cstyle/plist12/input.js | 2 + autotests/input/indent/cstyle/plist12/origin | 3 + .../input/indent/cstyle/plist13/expected | 5 + .../input/indent/cstyle/plist13/input.js | 2 + autotests/input/indent/cstyle/plist13/origin | 4 + .../input/indent/cstyle/plist14/expected | 4 + .../input/indent/cstyle/plist14/input.js | 2 + autotests/input/indent/cstyle/plist14/origin | 3 + .../input/indent/cstyle/plist15/expected | 4 + .../input/indent/cstyle/plist15/input.js | 2 + autotests/input/indent/cstyle/plist15/origin | 3 + .../input/indent/cstyle/plist16/expected | 3 + .../input/indent/cstyle/plist16/input.js | 2 + autotests/input/indent/cstyle/plist16/origin | 2 + .../input/indent/cstyle/plist17/expected | 4 + .../input/indent/cstyle/plist17/input.js | 2 + autotests/input/indent/cstyle/plist17/origin | 3 + .../input/indent/cstyle/plist18/expected | 7 + .../input/indent/cstyle/plist18/input.js | 2 + autotests/input/indent/cstyle/plist18/origin | 6 + .../input/indent/cstyle/plist19/expected | 6 + .../input/indent/cstyle/plist19/input.js | 2 + autotests/input/indent/cstyle/plist19/origin | 5 + autotests/input/indent/cstyle/plist2/expected | 2 + autotests/input/indent/cstyle/plist2/input.js | 2 + autotests/input/indent/cstyle/plist2/origin | 2 + .../input/indent/cstyle/plist20/expected | 7 + .../input/indent/cstyle/plist20/input.js | 2 + autotests/input/indent/cstyle/plist20/origin | 6 + .../input/indent/cstyle/plist21/expected | 6 + .../input/indent/cstyle/plist21/input.js | 2 + autotests/input/indent/cstyle/plist21/origin | 5 + .../input/indent/cstyle/plist22/expected | 5 + .../input/indent/cstyle/plist22/input.js | 2 + autotests/input/indent/cstyle/plist22/origin | 4 + .../input/indent/cstyle/plist24/expected | 5 + .../input/indent/cstyle/plist24/input.js | 2 + autotests/input/indent/cstyle/plist24/origin | 4 + .../input/indent/cstyle/plist25/expected | 5 + .../input/indent/cstyle/plist25/input.js | 2 + autotests/input/indent/cstyle/plist25/origin | 4 + autotests/input/indent/cstyle/plist3/expected | 3 + autotests/input/indent/cstyle/plist3/input.js | 3 + autotests/input/indent/cstyle/plist3/origin | 2 + autotests/input/indent/cstyle/plist4/expected | 4 + autotests/input/indent/cstyle/plist4/input.js | 3 + autotests/input/indent/cstyle/plist4/origin | 3 + autotests/input/indent/cstyle/plist5/expected | 4 + autotests/input/indent/cstyle/plist5/input.js | 4 + autotests/input/indent/cstyle/plist5/origin | 3 + autotests/input/indent/cstyle/plist6/expected | 2 + autotests/input/indent/cstyle/plist6/input.js | 3 + autotests/input/indent/cstyle/plist6/origin | 1 + autotests/input/indent/cstyle/plist7/expected | 3 + autotests/input/indent/cstyle/plist7/input.js | 3 + autotests/input/indent/cstyle/plist7/origin | 2 + autotests/input/indent/cstyle/plist8/expected | 2 + autotests/input/indent/cstyle/plist8/input.js | 2 + autotests/input/indent/cstyle/plist8/origin | 1 + autotests/input/indent/cstyle/plist9/expected | 3 + autotests/input/indent/cstyle/plist9/input.js | 2 + autotests/input/indent/cstyle/plist9/origin | 2 + autotests/input/indent/cstyle/prep1/expected | 3 + autotests/input/indent/cstyle/prep1/input.js | 4 + autotests/input/indent/cstyle/prep1/origin | 2 + autotests/input/indent/cstyle/prep2/expected | 4 + autotests/input/indent/cstyle/prep2/input.js | 3 + autotests/input/indent/cstyle/prep2/origin | 3 + autotests/input/indent/cstyle/prep3/expected | 3 + autotests/input/indent/cstyle/prep3/input.js | 3 + autotests/input/indent/cstyle/prep3/origin | 2 + autotests/input/indent/cstyle/prep4/expected | 3 + autotests/input/indent/cstyle/prep4/input.js | 3 + autotests/input/indent/cstyle/prep4/origin | 2 + autotests/input/indent/cstyle/prep5/expected | 3 + autotests/input/indent/cstyle/prep5/input.js | 2 + autotests/input/indent/cstyle/prep5/origin | 3 + autotests/input/indent/cstyle/prep6/expected | 3 + autotests/input/indent/cstyle/prep6/input.js | 2 + autotests/input/indent/cstyle/prep6/origin | 3 + .../input/indent/cstyle/switch1/expected | 3 + .../input/indent/cstyle/switch1/input.js | 3 + autotests/input/indent/cstyle/switch1/origin | 2 + .../input/indent/cstyle/switch10/expected | 3 + .../input/indent/cstyle/switch10/input.js | 2 + autotests/input/indent/cstyle/switch10/origin | 3 + .../input/indent/cstyle/switch11/expected | 3 + .../input/indent/cstyle/switch11/input.js | 2 + autotests/input/indent/cstyle/switch11/origin | 3 + .../input/indent/cstyle/switch12/expected | 3 + .../input/indent/cstyle/switch12/input.js | 3 + autotests/input/indent/cstyle/switch12/origin | 2 + .../input/indent/cstyle/switch13/expected | 4 + .../input/indent/cstyle/switch13/input.js | 3 + autotests/input/indent/cstyle/switch13/origin | 3 + .../input/indent/cstyle/switch14/expected | 3 + .../input/indent/cstyle/switch14/input.js | 3 + autotests/input/indent/cstyle/switch14/origin | 2 + .../input/indent/cstyle/switch2/expected | 4 + .../input/indent/cstyle/switch2/input.js | 3 + autotests/input/indent/cstyle/switch2/origin | 3 + .../input/indent/cstyle/switch3/expected | 5 + .../input/indent/cstyle/switch3/input.js | 3 + autotests/input/indent/cstyle/switch3/origin | 4 + .../input/indent/cstyle/switch4/expected | 6 + .../input/indent/cstyle/switch4/input.js | 4 + autotests/input/indent/cstyle/switch4/origin | 5 + .../input/indent/cstyle/switch5/expected | 4 + .../input/indent/cstyle/switch5/input.js | 3 + autotests/input/indent/cstyle/switch5/origin | 3 + .../input/indent/cstyle/switch6/expected | 4 + .../input/indent/cstyle/switch6/input.js | 2 + autotests/input/indent/cstyle/switch6/origin | 4 + .../input/indent/cstyle/switch7/expected | 7 + .../input/indent/cstyle/switch7/input.js | 5 + autotests/input/indent/cstyle/switch7/origin | 5 + .../input/indent/cstyle/switch8/expected | 5 + .../input/indent/cstyle/switch8/input.js | 3 + autotests/input/indent/cstyle/switch8/origin | 4 + .../input/indent/cstyle/switch9/expected | 5 + .../input/indent/cstyle/switch9/input.js | 2 + autotests/input/indent/cstyle/switch9/origin | 5 + autotests/input/indent/cstyle/top1/expected | 2 + autotests/input/indent/cstyle/top1/input.js | 3 + autotests/input/indent/cstyle/top1/origin | 1 + autotests/input/indent/cstyle/top10/expected | 3 + autotests/input/indent/cstyle/top10/input.js | 3 + autotests/input/indent/cstyle/top10/origin | 2 + autotests/input/indent/cstyle/top11/expected | 3 + autotests/input/indent/cstyle/top11/input.js | 3 + autotests/input/indent/cstyle/top11/origin | 2 + autotests/input/indent/cstyle/top12/expected | 4 + autotests/input/indent/cstyle/top12/input.js | 3 + autotests/input/indent/cstyle/top12/origin | 3 + autotests/input/indent/cstyle/top13/expected | 4 + autotests/input/indent/cstyle/top13/input.js | 3 + autotests/input/indent/cstyle/top13/origin | 3 + autotests/input/indent/cstyle/top14/expected | 4 + autotests/input/indent/cstyle/top14/input.js | 3 + autotests/input/indent/cstyle/top14/origin | 3 + autotests/input/indent/cstyle/top15/expected | 4 + autotests/input/indent/cstyle/top15/input.js | 3 + autotests/input/indent/cstyle/top15/origin | 3 + autotests/input/indent/cstyle/top16/expected | 4 + autotests/input/indent/cstyle/top16/input.js | 3 + autotests/input/indent/cstyle/top16/origin | 3 + autotests/input/indent/cstyle/top17/expected | 4 + autotests/input/indent/cstyle/top17/input.js | 3 + autotests/input/indent/cstyle/top17/origin | 3 + autotests/input/indent/cstyle/top18/expected | 4 + autotests/input/indent/cstyle/top18/input.js | 3 + autotests/input/indent/cstyle/top18/origin | 3 + autotests/input/indent/cstyle/top19/expected | 2 + autotests/input/indent/cstyle/top19/input.js | 3 + autotests/input/indent/cstyle/top19/origin | 1 + autotests/input/indent/cstyle/top2/expected | 3 + autotests/input/indent/cstyle/top2/input.js | 3 + autotests/input/indent/cstyle/top2/origin | 2 + autotests/input/indent/cstyle/top3/expected | 3 + autotests/input/indent/cstyle/top3/input.js | 3 + autotests/input/indent/cstyle/top3/origin | 2 + autotests/input/indent/cstyle/top4/expected | 4 + autotests/input/indent/cstyle/top4/input.js | 3 + autotests/input/indent/cstyle/top4/origin | 3 + autotests/input/indent/cstyle/top5/expected | 3 + autotests/input/indent/cstyle/top5/input.js | 3 + autotests/input/indent/cstyle/top5/origin | 2 + autotests/input/indent/cstyle/top6/expected | 3 + autotests/input/indent/cstyle/top6/input.js | 3 + autotests/input/indent/cstyle/top6/origin | 2 + autotests/input/indent/cstyle/top7/expected | 3 + autotests/input/indent/cstyle/top7/input.js | 3 + autotests/input/indent/cstyle/top7/origin | 2 + autotests/input/indent/cstyle/top8/expected | 3 + autotests/input/indent/cstyle/top8/input.js | 3 + autotests/input/indent/cstyle/top8/origin | 2 + autotests/input/indent/cstyle/top9/expected | 3 + autotests/input/indent/cstyle/top9/input.js | 3 + autotests/input/indent/cstyle/top9/origin | 2 + .../input/indent/cstyle/triggerchars/expected | 3 + .../input/indent/cstyle/triggerchars/input.js | 2 + .../input/indent/cstyle/triggerchars/origin | 3 + .../input/indent/cstyle/usestrict/expected | 4 + .../input/indent/cstyle/usestrict/input.js | 3 + .../input/indent/cstyle/usestrict/origin | 3 + autotests/input/indent/cstyle/using1/expected | 2 + autotests/input/indent/cstyle/using1/input.js | 3 + autotests/input/indent/cstyle/using1/origin | 1 + autotests/input/indent/cstyle/using2/expected | 3 + autotests/input/indent/cstyle/using2/input.js | 3 + autotests/input/indent/cstyle/using2/origin | 2 + autotests/input/indent/cstyle/using3/expected | 2 + autotests/input/indent/cstyle/using3/input.js | 3 + autotests/input/indent/cstyle/using3/origin | 1 + autotests/input/indent/cstyle/visib1/expected | 3 + autotests/input/indent/cstyle/visib1/input.js | 3 + autotests/input/indent/cstyle/visib1/origin | 2 + autotests/input/indent/cstyle/visib2/expected | 4 + autotests/input/indent/cstyle/visib2/input.js | 3 + autotests/input/indent/cstyle/visib2/origin | 3 + autotests/input/indent/cstyle/visib3/expected | 3 + autotests/input/indent/cstyle/visib3/input.js | 3 + autotests/input/indent/cstyle/visib3/origin | 2 + autotests/input/indent/cstyle/visib4/expected | 2 + autotests/input/indent/cstyle/visib4/input.js | 2 + autotests/input/indent/cstyle/visib4/origin | 2 + autotests/input/indent/cstyle/visib5/expected | 2 + autotests/input/indent/cstyle/visib5/input.js | 2 + autotests/input/indent/cstyle/visib5/origin | 2 + autotests/input/indent/cstyle/visib6/expected | 2 + autotests/input/indent/cstyle/visib6/input.js | 2 + autotests/input/indent/cstyle/visib6/origin | 2 + autotests/input/indent/cstyle/visib7/expected | 2 + autotests/input/indent/cstyle/visib7/input.js | 2 + autotests/input/indent/cstyle/visib7/origin | 2 + autotests/input/indent/cstyle/visib8/expected | 2 + autotests/input/indent/cstyle/visib8/input.js | 2 + autotests/input/indent/cstyle/visib8/origin | 2 + autotests/input/indent/cstyle/while1/expected | 3 + autotests/input/indent/cstyle/while1/input.js | 3 + autotests/input/indent/cstyle/while1/origin | 2 + autotests/input/indent/cstyle/while2/expected | 4 + autotests/input/indent/cstyle/while2/input.js | 3 + autotests/input/indent/cstyle/while2/origin | 3 + autotests/input/indent/cstyle/while3/expected | 3 + autotests/input/indent/cstyle/while3/input.js | 3 + autotests/input/indent/cstyle/while3/origin | 2 + autotests/input/indent/haskell/.kateconfig | 1 + .../input/indent/haskell/afterComma1/expected | 2 + .../input/indent/haskell/afterComma1/input.js | 3 + .../input/indent/haskell/afterComma1/origin | 1 + .../input/indent/haskell/dontIndent1/expected | 6 + .../input/indent/haskell/dontIndent1/input.js | 3 + .../input/indent/haskell/dontIndent1/origin | 5 + autotests/input/indent/haskell/if1/expected | 2 + autotests/input/indent/haskell/if1/input.js | 3 + autotests/input/indent/haskell/if1/origin | 1 + autotests/input/indent/haskell/if2/expected | 3 + autotests/input/indent/haskell/if2/input.js | 3 + autotests/input/indent/haskell/if2/origin | 2 + .../input/indent/haskell/parsec1/expected | 3 + .../input/indent/haskell/parsec1/input.js | 3 + autotests/input/indent/haskell/parsec1/origin | 2 + autotests/input/indent/latex/.kateconfig | 2 + autotests/input/indent/latex/env1/expected | 2 + autotests/input/indent/latex/env1/input.js | 3 + autotests/input/indent/latex/env1/origin | 1 + autotests/input/indent/latex/env2/expected | 2 + autotests/input/indent/latex/env2/input.js | 2 + autotests/input/indent/latex/env2/origin | 2 + autotests/input/indent/latex/env3/expected | 4 + autotests/input/indent/latex/env3/input.js | 7 + autotests/input/indent/latex/env3/origin | 1 + autotests/input/indent/normal/.kateconfig | 1 + .../input/indent/normal/cascade1/expected | 3 + .../input/indent/normal/cascade1/input.js | 3 + autotests/input/indent/normal/cascade1/origin | 2 + .../input/indent/normal/emptyline1/expected | 3 + .../input/indent/normal/emptyline1/input.js | 3 + .../input/indent/normal/emptyline1/origin | 2 + .../input/indent/normal/emptyline2/expected | 3 + .../input/indent/normal/emptyline2/input.js | 3 + .../input/indent/normal/emptyline2/origin | 2 + .../input/indent/normal/emptyline3/expected | 4 + .../input/indent/normal/emptyline3/input.js | 4 + .../input/indent/normal/emptyline3/origin | 2 + .../input/indent/normal/midbreak1/expected | 2 + .../input/indent/normal/midbreak1/input.js | 2 + .../input/indent/normal/midbreak1/origin | 1 + .../input/indent/normal/midbreak2/expected | 2 + .../input/indent/normal/midbreak2/input.js | 2 + .../input/indent/normal/midbreak2/origin | 1 + .../input/indent/normal/normal1/expected | 2 + .../input/indent/normal/normal1/input.js | 3 + autotests/input/indent/normal/normal1/origin | 1 + .../input/indent/normal/normal2/expected | 2 + .../input/indent/normal/normal2/input.js | 3 + autotests/input/indent/normal/normal2/origin | 1 + .../input/indent/normal/normal3/expected | 3 + .../input/indent/normal/normal3/input.js | 3 + autotests/input/indent/normal/normal3/origin | 2 + autotests/input/indent/pascal/.kateconfig | 3 + autotests/input/indent/pascal/case1/expected | 10 + autotests/input/indent/pascal/case1/input.js | 17 + autotests/input/indent/pascal/case1/origin | 3 + autotests/input/indent/pascal/case2/expected | 4 + autotests/input/indent/pascal/case2/input.js | 5 + autotests/input/indent/pascal/case2/origin | 3 + autotests/input/indent/pascal/case3/expected | 8 + autotests/input/indent/pascal/case3/input.js | 14 + autotests/input/indent/pascal/case3/origin | 3 + autotests/input/indent/pascal/case4/expected | 10 + autotests/input/indent/pascal/case4/input.js | 17 + autotests/input/indent/pascal/case4/origin | 3 + autotests/input/indent/pascal/case5/expected | 4 + autotests/input/indent/pascal/case5/input.js | 5 + autotests/input/indent/pascal/case5/origin | 3 + autotests/input/indent/pascal/case6/expected | 8 + autotests/input/indent/pascal/case6/input.js | 14 + autotests/input/indent/pascal/case6/origin | 3 + .../input/indent/pascal/closepar1/expected | 5 + .../input/indent/pascal/closepar1/input.js | 5 + .../input/indent/pascal/closepar1/origin | 4 + .../input/indent/pascal/closepar2/expected | 4 + .../input/indent/pascal/closepar2/input.js | 5 + .../input/indent/pascal/closepar2/origin | 3 + .../input/indent/pascal/comment1/expected | 3 + .../input/indent/pascal/comment1/input.js | 3 + autotests/input/indent/pascal/comment1/origin | 2 + .../input/indent/pascal/comment2/expected | 3 + .../input/indent/pascal/comment2/input.js | 3 + autotests/input/indent/pascal/comment2/origin | 2 + .../input/indent/pascal/comment3/expected | 3 + .../input/indent/pascal/comment3/input.js | 3 + autotests/input/indent/pascal/comment3/origin | 2 + autotests/input/indent/pascal/if1/expected | 8 + autotests/input/indent/pascal/if1/input.js | 10 + autotests/input/indent/pascal/if1/origin | 4 + autotests/input/indent/pascal/label1/expected | 3 + autotests/input/indent/pascal/label1/input.js | 8 + autotests/input/indent/pascal/label1/origin | 1 + .../input/indent/pascal/longtest1/expected | 336 + .../input/indent/pascal/longtest1/input.js | 8 + .../input/indent/pascal/longtest1/origin | 335 + .../input/indent/pascal/longtest2/expected | 277 + .../input/indent/pascal/longtest2/input.js | 8 + .../input/indent/pascal/longtest2/origin | 277 + .../input/indent/pascal/longtest3/expected | 418 + .../input/indent/pascal/longtest3/input.js | 8 + .../input/indent/pascal/longtest3/origin | 418 + .../input/indent/pascal/longtest4/expected | 534 + .../input/indent/pascal/longtest4/input.js | 8 + .../input/indent/pascal/longtest4/origin | 534 + .../input/indent/pascal/openpar1/expected | 4 + .../input/indent/pascal/openpar1/input.js | 5 + autotests/input/indent/pascal/openpar1/origin | 2 + .../input/indent/pascal/openpar2/expected | 4 + .../input/indent/pascal/openpar2/input.js | 5 + autotests/input/indent/pascal/openpar2/origin | 2 + autotests/input/indent/pascal/prep1/expected | 3 + autotests/input/indent/pascal/prep1/input.js | 7 + autotests/input/indent/pascal/prep1/origin | 1 + autotests/input/indent/pascal/trig1/expected | 4 + autotests/input/indent/pascal/trig1/input.js | 8 + autotests/input/indent/pascal/trig1/origin | 2 + autotests/input/indent/python/.kateconfig | 1 + .../input/indent/python/dedentBreak/expected | 3 + .../input/indent/python/dedentBreak/input.js | 3 + .../input/indent/python/dedentBreak/origin | 2 + .../indent/python/dedentComment/expected | 3 + .../indent/python/dedentComment/input.js | 3 + .../input/indent/python/dedentComment/origin | 2 + .../indent/python/dedentContinue/expected | 3 + .../indent/python/dedentContinue/input.js | 3 + .../input/indent/python/dedentContinue/origin | 2 + .../input/indent/python/dedentPass/expected | 3 + .../input/indent/python/dedentPass/input.js | 3 + .../input/indent/python/dedentPass/origin | 2 + .../input/indent/python/dedentRaise/expected | 3 + .../input/indent/python/dedentRaise/input.js | 3 + .../input/indent/python/dedentRaise/origin | 2 + .../input/indent/python/dedentReturn/expected | 3 + .../input/indent/python/dedentReturn/input.js | 3 + .../input/indent/python/dedentReturn/origin | 2 + .../indent/python/dedentReturn2/expected | 4 + .../indent/python/dedentReturn2/input.js | 5 + .../input/indent/python/dedentReturn2/origin | 2 + .../indent/python/dedentReturn3/expected | 6 + .../indent/python/dedentReturn3/input.js | 7 + .../input/indent/python/dedentReturn3/origin | 3 + autotests/input/indent/python/dict1/expected | 4 + autotests/input/indent/python/dict1/input.js | 7 + autotests/input/indent/python/dict1/origin | 1 + autotests/input/indent/python/dict2/expected | 3 + autotests/input/indent/python/dict2/input.js | 5 + autotests/input/indent/python/dict2/origin | 1 + .../indent/python/function_args/expected | 3 + .../indent/python/function_args/input.js | 5 + .../input/indent/python/function_args/origin | 1 + .../input/indent/python/indentColon/expected | 2 + .../input/indent/python/indentColon/input.js | 3 + .../input/indent/python/indentColon/origin | 1 + .../indent/python/indentComment/expected | 2 + .../indent/python/indentComment/input.js | 3 + .../input/indent/python/indentComment/origin | 1 + .../input/indent/python/keepIndent1/expected | 4 + .../input/indent/python/keepIndent1/input.js | 3 + .../input/indent/python/keepIndent1/origin | 3 + .../input/indent/python/keepIndent2/expected | 5 + .../input/indent/python/keepIndent2/input.js | 3 + .../input/indent/python/keepIndent2/origin | 4 + .../input/indent/python/keepIndent3/expected | 4 + .../input/indent/python/keepIndent3/input.js | 3 + .../input/indent/python/keepIndent3/origin | 3 + .../input/indent/python/keepIndent4/expected | 4 + .../input/indent/python/keepIndent4/input.js | 3 + .../input/indent/python/keepIndent4/origin | 2 + autotests/input/indent/python/list1/expected | 4 + autotests/input/indent/python/list1/input.js | 7 + autotests/input/indent/python/list1/origin | 1 + autotests/input/indent/python/list2/expected | 4 + autotests/input/indent/python/list2/input.js | 7 + autotests/input/indent/python/list2/origin | 1 + .../input/indent/python/triggerchars/expected | 3 + .../input/indent/python/triggerchars/input.js | 4 + .../input/indent/python/triggerchars/origin | 2 + autotests/input/indent/python/tuple1/expected | 4 + autotests/input/indent/python/tuple1/input.js | 7 + autotests/input/indent/python/tuple1/origin | 1 + autotests/input/indent/python/tuple2/expected | 4 + autotests/input/indent/python/tuple2/input.js | 7 + autotests/input/indent/python/tuple2/origin | 1 + .../input/indent/python/wrapped_line/expected | 3 + .../input/indent/python/wrapped_line/input.js | 5 + .../input/indent/python/wrapped_line/origin | 1 + autotests/input/indent/replicode/.kateconfig | 1 + .../input/indent/replicode/return/expected | 2 + .../input/indent/replicode/return/input.js | 2 + .../input/indent/replicode/return/origin | 1 + autotests/input/indent/ruby/.kateconfig | 1 + .../input/indent/ruby/array-comment1/expected | 3 + .../input/indent/ruby/array-comment1/input.js | 3 + .../input/indent/ruby/array-comment1/origin | 2 + .../input/indent/ruby/array-comment2/expected | 2 + .../input/indent/ruby/array-comment2/input.js | 3 + .../input/indent/ruby/array-comment2/origin | 1 + .../input/indent/ruby/array-comment3/expected | 3 + .../input/indent/ruby/array-comment3/input.js | 3 + .../input/indent/ruby/array-comment3/origin | 2 + .../input/indent/ruby/array-comment4/expected | 4 + .../input/indent/ruby/array-comment4/input.js | 3 + .../input/indent/ruby/array-comment4/origin | 3 + .../input/indent/ruby/array-comment5/expected | 5 + .../input/indent/ruby/array-comment5/input.js | 4 + .../input/indent/ruby/array-comment5/origin | 3 + autotests/input/indent/ruby/array1/expected | 2 + autotests/input/indent/ruby/array1/input.js | 3 + autotests/input/indent/ruby/array1/origin | 1 + autotests/input/indent/ruby/array10/expected | 4 + autotests/input/indent/ruby/array10/input.js | 3 + autotests/input/indent/ruby/array10/origin | 3 + autotests/input/indent/ruby/array11/expected | 5 + autotests/input/indent/ruby/array11/input.js | 3 + autotests/input/indent/ruby/array11/origin | 4 + autotests/input/indent/ruby/array12/expected | 5 + autotests/input/indent/ruby/array12/input.js | 3 + autotests/input/indent/ruby/array12/origin | 4 + autotests/input/indent/ruby/array16/expected | 4 + autotests/input/indent/ruby/array16/input.js | 3 + autotests/input/indent/ruby/array16/origin | 3 + autotests/input/indent/ruby/array17/expected | 2 + autotests/input/indent/ruby/array17/input.js | 3 + autotests/input/indent/ruby/array17/origin | 1 + autotests/input/indent/ruby/array18/expected | 3 + autotests/input/indent/ruby/array18/input.js | 3 + autotests/input/indent/ruby/array18/origin | 2 + autotests/input/indent/ruby/array19/expected | 4 + autotests/input/indent/ruby/array19/input.js | 4 + autotests/input/indent/ruby/array19/origin | 3 + autotests/input/indent/ruby/array2/expected | 2 + autotests/input/indent/ruby/array2/input.js | 3 + autotests/input/indent/ruby/array2/origin | 1 + autotests/input/indent/ruby/array20/expected | 4 + autotests/input/indent/ruby/array20/input.js | 3 + autotests/input/indent/ruby/array20/origin | 3 + autotests/input/indent/ruby/array21/expected | 5 + autotests/input/indent/ruby/array21/input.js | 3 + autotests/input/indent/ruby/array21/origin | 4 + autotests/input/indent/ruby/array22/expected | 5 + autotests/input/indent/ruby/array22/input.js | 3 + autotests/input/indent/ruby/array22/origin | 4 + autotests/input/indent/ruby/array3/expected | 3 + autotests/input/indent/ruby/array3/input.js | 3 + autotests/input/indent/ruby/array3/origin | 2 + autotests/input/indent/ruby/array4/expected | 4 + autotests/input/indent/ruby/array4/input.js | 3 + autotests/input/indent/ruby/array4/origin | 3 + autotests/input/indent/ruby/array5/expected | 5 + autotests/input/indent/ruby/array5/input.js | 4 + autotests/input/indent/ruby/array5/origin | 3 + autotests/input/indent/ruby/array6/expected | 4 + autotests/input/indent/ruby/array6/input.js | 3 + autotests/input/indent/ruby/array6/origin | 3 + autotests/input/indent/ruby/array7/expected | 2 + autotests/input/indent/ruby/array7/input.js | 3 + autotests/input/indent/ruby/array7/origin | 1 + autotests/input/indent/ruby/array8/expected | 3 + autotests/input/indent/ruby/array8/input.js | 3 + autotests/input/indent/ruby/array8/origin | 2 + autotests/input/indent/ruby/array9/expected | 4 + autotests/input/indent/ruby/array9/input.js | 4 + autotests/input/indent/ruby/array9/origin | 3 + autotests/input/indent/ruby/basic1/expected | 8 + autotests/input/indent/ruby/basic1/input.js | 15 + autotests/input/indent/ruby/basic1/origin | 1 + autotests/input/indent/ruby/basic2/expected | 13 + autotests/input/indent/ruby/basic2/input.js | 19 + autotests/input/indent/ruby/basic2/origin | 2 + autotests/input/indent/ruby/basic3/expected | 5 + autotests/input/indent/ruby/basic3/input.js | 5 + autotests/input/indent/ruby/basic3/origin | 3 + autotests/input/indent/ruby/basic4/expected | 5 + autotests/input/indent/ruby/basic4/input.js | 5 + autotests/input/indent/ruby/basic4/origin | 3 + .../input/indent/ruby/block-comment1/expected | 2 + .../input/indent/ruby/block-comment1/input.js | 3 + .../input/indent/ruby/block-comment1/origin | 1 + .../input/indent/ruby/block-comment2/expected | 3 + .../input/indent/ruby/block-comment2/input.js | 4 + .../input/indent/ruby/block-comment2/origin | 1 + .../input/indent/ruby/block-comment3/expected | 3 + .../input/indent/ruby/block-comment3/input.js | 3 + .../input/indent/ruby/block-comment3/origin | 2 + .../input/indent/ruby/block-comment4/expected | 4 + .../input/indent/ruby/block-comment4/input.js | 4 + .../input/indent/ruby/block-comment4/origin | 2 + .../input/indent/ruby/block-comment5/expected | 3 + .../input/indent/ruby/block-comment5/input.js | 3 + .../input/indent/ruby/block-comment5/origin | 2 + .../input/indent/ruby/block-comment6/expected | 4 + .../input/indent/ruby/block-comment6/input.js | 4 + .../input/indent/ruby/block-comment6/origin | 2 + .../input/indent/ruby/block-comment7/expected | 4 + .../input/indent/ruby/block-comment7/input.js | 3 + .../input/indent/ruby/block-comment7/origin | 3 + .../input/indent/ruby/block-comment8/expected | 5 + .../input/indent/ruby/block-comment8/input.js | 4 + .../input/indent/ruby/block-comment8/origin | 3 + autotests/input/indent/ruby/block01/expected | 3 + autotests/input/indent/ruby/block01/input.js | 3 + autotests/input/indent/ruby/block01/origin | 2 + autotests/input/indent/ruby/block02/expected | 3 + autotests/input/indent/ruby/block02/input.js | 3 + autotests/input/indent/ruby/block02/origin | 2 + autotests/input/indent/ruby/comment1/expected | 4 + autotests/input/indent/ruby/comment1/input.js | 3 + autotests/input/indent/ruby/comment1/origin | 3 + autotests/input/indent/ruby/comment2/expected | 5 + autotests/input/indent/ruby/comment2/input.js | 5 + autotests/input/indent/ruby/comment2/origin | 3 + autotests/input/indent/ruby/comment3/expected | 6 + autotests/input/indent/ruby/comment3/input.js | 7 + autotests/input/indent/ruby/comment3/origin | 3 + autotests/input/indent/ruby/comment4/expected | 5 + autotests/input/indent/ruby/comment4/input.js | 5 + autotests/input/indent/ruby/comment4/origin | 3 + autotests/input/indent/ruby/comment5/expected | 5 + autotests/input/indent/ruby/comment5/input.js | 5 + autotests/input/indent/ruby/comment5/origin | 3 + autotests/input/indent/ruby/comment6/expected | 5 + autotests/input/indent/ruby/comment6/input.js | 5 + autotests/input/indent/ruby/comment6/origin | 3 + autotests/input/indent/ruby/do1/expected | 3 + autotests/input/indent/ruby/do1/input.js | 3 + autotests/input/indent/ruby/do1/origin | 2 + autotests/input/indent/ruby/do2/expected | 4 + autotests/input/indent/ruby/do2/input.js | 5 + autotests/input/indent/ruby/do2/origin | 2 + autotests/input/indent/ruby/do3/expected | 4 + autotests/input/indent/ruby/do3/input.js | 5 + autotests/input/indent/ruby/do3/origin | 2 + autotests/input/indent/ruby/do4/expected | 4 + autotests/input/indent/ruby/do4/input.js | 5 + autotests/input/indent/ruby/do4/origin | 2 + autotests/input/indent/ruby/do5/expected | 3 + autotests/input/indent/ruby/do5/input.js | 3 + autotests/input/indent/ruby/do5/origin | 2 + autotests/input/indent/ruby/do6/expected | 4 + autotests/input/indent/ruby/do6/input.js | 5 + autotests/input/indent/ruby/do6/origin | 2 + autotests/input/indent/ruby/do7/expected | 4 + autotests/input/indent/ruby/do7/input.js | 5 + autotests/input/indent/ruby/do7/origin | 2 + .../input/indent/ruby/empty-file1/expected | 6 + .../input/indent/ruby/empty-file1/input.js | 10 + .../input/indent/ruby/empty-file1/origin | 1 + autotests/input/indent/ruby/hash1/expected | 2 + autotests/input/indent/ruby/hash1/input.js | 3 + autotests/input/indent/ruby/hash1/origin | 1 + autotests/input/indent/ruby/hash10/expected | 4 + autotests/input/indent/ruby/hash10/input.js | 3 + autotests/input/indent/ruby/hash10/origin | 3 + autotests/input/indent/ruby/hash11/expected | 5 + autotests/input/indent/ruby/hash11/input.js | 3 + autotests/input/indent/ruby/hash11/origin | 4 + autotests/input/indent/ruby/hash12/expected | 5 + autotests/input/indent/ruby/hash12/input.js | 3 + autotests/input/indent/ruby/hash12/origin | 4 + autotests/input/indent/ruby/hash16/expected | 4 + autotests/input/indent/ruby/hash16/input.js | 3 + autotests/input/indent/ruby/hash16/origin | 3 + autotests/input/indent/ruby/hash17/expected | 2 + autotests/input/indent/ruby/hash17/input.js | 3 + autotests/input/indent/ruby/hash17/origin | 1 + autotests/input/indent/ruby/hash18/expected | 3 + autotests/input/indent/ruby/hash18/input.js | 3 + autotests/input/indent/ruby/hash18/origin | 2 + autotests/input/indent/ruby/hash19/expected | 4 + autotests/input/indent/ruby/hash19/input.js | 4 + autotests/input/indent/ruby/hash19/origin | 3 + autotests/input/indent/ruby/hash2/expected | 2 + autotests/input/indent/ruby/hash2/input.js | 3 + autotests/input/indent/ruby/hash2/origin | 1 + autotests/input/indent/ruby/hash20/expected | 4 + autotests/input/indent/ruby/hash20/input.js | 3 + autotests/input/indent/ruby/hash20/origin | 3 + autotests/input/indent/ruby/hash21/expected | 5 + autotests/input/indent/ruby/hash21/input.js | 3 + autotests/input/indent/ruby/hash21/origin | 4 + autotests/input/indent/ruby/hash22/expected | 5 + autotests/input/indent/ruby/hash22/input.js | 3 + autotests/input/indent/ruby/hash22/origin | 4 + autotests/input/indent/ruby/hash3/expected | 3 + autotests/input/indent/ruby/hash3/input.js | 3 + autotests/input/indent/ruby/hash3/origin | 2 + autotests/input/indent/ruby/hash4/expected | 4 + autotests/input/indent/ruby/hash4/input.js | 3 + autotests/input/indent/ruby/hash4/origin | 3 + autotests/input/indent/ruby/hash5/expected | 5 + autotests/input/indent/ruby/hash5/input.js | 4 + autotests/input/indent/ruby/hash5/origin | 3 + autotests/input/indent/ruby/hash6/expected | 4 + autotests/input/indent/ruby/hash6/input.js | 3 + autotests/input/indent/ruby/hash6/origin | 3 + autotests/input/indent/ruby/hash7/expected | 2 + autotests/input/indent/ruby/hash7/input.js | 3 + autotests/input/indent/ruby/hash7/origin | 1 + autotests/input/indent/ruby/hash8/expected | 3 + autotests/input/indent/ruby/hash8/input.js | 3 + autotests/input/indent/ruby/hash8/origin | 2 + autotests/input/indent/ruby/hash9/expected | 4 + autotests/input/indent/ruby/hash9/input.js | 4 + autotests/input/indent/ruby/hash9/origin | 3 + autotests/input/indent/ruby/heredoc1/expected | 2 + autotests/input/indent/ruby/heredoc1/input.js | 3 + autotests/input/indent/ruby/heredoc1/origin | 1 + autotests/input/indent/ruby/heredoc2/expected | 3 + autotests/input/indent/ruby/heredoc2/input.js | 4 + autotests/input/indent/ruby/heredoc2/origin | 1 + autotests/input/indent/ruby/heredoc3/expected | 3 + autotests/input/indent/ruby/heredoc3/input.js | 3 + autotests/input/indent/ruby/heredoc3/origin | 2 + autotests/input/indent/ruby/heredoc4/expected | 4 + autotests/input/indent/ruby/heredoc4/input.js | 4 + autotests/input/indent/ruby/heredoc4/origin | 2 + autotests/input/indent/ruby/heredoc5/expected | 3 + autotests/input/indent/ruby/heredoc5/input.js | 3 + autotests/input/indent/ruby/heredoc5/origin | 2 + autotests/input/indent/ruby/heredoc6/expected | 4 + autotests/input/indent/ruby/heredoc6/input.js | 4 + autotests/input/indent/ruby/heredoc6/origin | 2 + autotests/input/indent/ruby/if10/expected | 2 + autotests/input/indent/ruby/if10/input.js | 3 + autotests/input/indent/ruby/if10/origin | 1 + autotests/input/indent/ruby/if11/expected | 3 + autotests/input/indent/ruby/if11/input.js | 3 + autotests/input/indent/ruby/if11/origin | 2 + autotests/input/indent/ruby/if20/expected | 2 + autotests/input/indent/ruby/if20/input.js | 3 + autotests/input/indent/ruby/if20/origin | 1 + autotests/input/indent/ruby/if21/expected | 3 + autotests/input/indent/ruby/if21/input.js | 3 + autotests/input/indent/ruby/if21/origin | 2 + autotests/input/indent/ruby/if22/expected | 2 + autotests/input/indent/ruby/if22/input.js | 3 + autotests/input/indent/ruby/if22/origin | 1 + autotests/input/indent/ruby/if30/expected | 2 + autotests/input/indent/ruby/if30/input.js | 3 + autotests/input/indent/ruby/if30/origin | 1 + autotests/input/indent/ruby/if31/expected | 2 + autotests/input/indent/ruby/if31/input.js | 3 + autotests/input/indent/ruby/if31/origin | 1 + .../input/indent/ruby/multiline1/expected | 4 + .../input/indent/ruby/multiline1/input.js | 3 + autotests/input/indent/ruby/multiline1/origin | 3 + .../input/indent/ruby/multiline10/expected | 4 + .../input/indent/ruby/multiline10/input.js | 3 + .../input/indent/ruby/multiline10/origin | 3 + .../input/indent/ruby/multiline2/expected | 5 + .../input/indent/ruby/multiline2/input.js | 5 + autotests/input/indent/ruby/multiline2/origin | 3 + .../input/indent/ruby/multiline3/expected | 4 + .../input/indent/ruby/multiline3/input.js | 5 + autotests/input/indent/ruby/multiline3/origin | 2 + .../input/indent/ruby/multiline4/expected | 5 + .../input/indent/ruby/multiline4/input.js | 5 + autotests/input/indent/ruby/multiline4/origin | 3 + .../input/indent/ruby/multiline5/expected | 5 + .../input/indent/ruby/multiline5/input.js | 5 + autotests/input/indent/ruby/multiline5/origin | 3 + .../input/indent/ruby/multiline6/expected | 4 + .../input/indent/ruby/multiline6/input.js | 4 + autotests/input/indent/ruby/multiline6/origin | 2 + .../input/indent/ruby/multiline7/expected | 2 + .../input/indent/ruby/multiline7/input.js | 3 + autotests/input/indent/ruby/multiline7/origin | 1 + .../input/indent/ruby/multiline8/expected | 5 + .../input/indent/ruby/multiline8/input.js | 5 + autotests/input/indent/ruby/multiline8/origin | 3 + .../input/indent/ruby/multiline9/expected | 4 + .../input/indent/ruby/multiline9/input.js | 3 + autotests/input/indent/ruby/multiline9/origin | 3 + autotests/input/indent/ruby/no-do1/expected | 4 + autotests/input/indent/ruby/no-do1/input.js | 3 + autotests/input/indent/ruby/no-do1/origin | 3 + autotests/input/indent/ruby/no-do2/expected | 5 + autotests/input/indent/ruby/no-do2/input.js | 5 + autotests/input/indent/ruby/no-do2/origin | 3 + autotests/input/indent/ruby/no-do3/expected | 4 + autotests/input/indent/ruby/no-do3/input.js | 3 + autotests/input/indent/ruby/no-do3/origin | 3 + autotests/input/indent/ruby/no-do4/expected | 5 + autotests/input/indent/ruby/no-do4/input.js | 5 + autotests/input/indent/ruby/no-do4/origin | 3 + autotests/input/indent/ruby/ops1/expected | 2 + autotests/input/indent/ruby/ops1/input.js | 3 + autotests/input/indent/ruby/ops1/origin | 1 + autotests/input/indent/ruby/ops11/expected | 3 + autotests/input/indent/ruby/ops11/input.js | 3 + autotests/input/indent/ruby/ops11/origin | 2 + autotests/input/indent/ruby/ops12/expected | 3 + autotests/input/indent/ruby/ops12/input.js | 3 + autotests/input/indent/ruby/ops12/origin | 2 + autotests/input/indent/ruby/ops13/expected | 3 + autotests/input/indent/ruby/ops13/input.js | 3 + autotests/input/indent/ruby/ops13/origin | 2 + autotests/input/indent/ruby/ops14/expected | 3 + autotests/input/indent/ruby/ops14/input.js | 3 + autotests/input/indent/ruby/ops14/origin | 2 + autotests/input/indent/ruby/ops15/expected | 3 + autotests/input/indent/ruby/ops15/input.js | 3 + autotests/input/indent/ruby/ops15/origin | 2 + autotests/input/indent/ruby/ops16/expected | 3 + autotests/input/indent/ruby/ops16/input.js | 3 + autotests/input/indent/ruby/ops16/origin | 2 + autotests/input/indent/ruby/ops17/expected | 3 + autotests/input/indent/ruby/ops17/input.js | 3 + autotests/input/indent/ruby/ops17/origin | 2 + autotests/input/indent/ruby/ops18/expected | 3 + autotests/input/indent/ruby/ops18/input.js | 3 + autotests/input/indent/ruby/ops18/origin | 2 + autotests/input/indent/ruby/ops2/expected | 2 + autotests/input/indent/ruby/ops2/input.js | 3 + autotests/input/indent/ruby/ops2/origin | 1 + autotests/input/indent/ruby/ops21/expected | 3 + autotests/input/indent/ruby/ops21/input.js | 3 + autotests/input/indent/ruby/ops21/origin | 2 + autotests/input/indent/ruby/ops22/expected | 3 + autotests/input/indent/ruby/ops22/input.js | 3 + autotests/input/indent/ruby/ops22/origin | 2 + autotests/input/indent/ruby/ops23/expected | 3 + autotests/input/indent/ruby/ops23/input.js | 3 + autotests/input/indent/ruby/ops23/origin | 2 + autotests/input/indent/ruby/ops24/expected | 3 + autotests/input/indent/ruby/ops24/input.js | 3 + autotests/input/indent/ruby/ops24/origin | 2 + autotests/input/indent/ruby/ops25/expected | 3 + autotests/input/indent/ruby/ops25/input.js | 3 + autotests/input/indent/ruby/ops25/origin | 2 + autotests/input/indent/ruby/ops26/expected | 3 + autotests/input/indent/ruby/ops26/input.js | 3 + autotests/input/indent/ruby/ops26/origin | 2 + autotests/input/indent/ruby/ops27/expected | 3 + autotests/input/indent/ruby/ops27/input.js | 3 + autotests/input/indent/ruby/ops27/origin | 2 + autotests/input/indent/ruby/ops28/expected | 3 + autotests/input/indent/ruby/ops28/input.js | 3 + autotests/input/indent/ruby/ops28/origin | 2 + autotests/input/indent/ruby/ops3/expected | 2 + autotests/input/indent/ruby/ops3/input.js | 3 + autotests/input/indent/ruby/ops3/origin | 1 + autotests/input/indent/ruby/ops4/expected | 2 + autotests/input/indent/ruby/ops4/input.js | 3 + autotests/input/indent/ruby/ops4/origin | 1 + autotests/input/indent/ruby/ops5/expected | 2 + autotests/input/indent/ruby/ops5/input.js | 3 + autotests/input/indent/ruby/ops5/origin | 1 + autotests/input/indent/ruby/ops6/expected | 2 + autotests/input/indent/ruby/ops6/input.js | 3 + autotests/input/indent/ruby/ops6/origin | 1 + autotests/input/indent/ruby/ops7/expected | 2 + autotests/input/indent/ruby/ops7/input.js | 3 + autotests/input/indent/ruby/ops7/origin | 1 + autotests/input/indent/ruby/ops8/expected | 2 + autotests/input/indent/ruby/ops8/input.js | 3 + autotests/input/indent/ruby/ops8/origin | 1 + .../input/indent/ruby/plist-comment1/expected | 2 + .../input/indent/ruby/plist-comment1/input.js | 3 + .../input/indent/ruby/plist-comment1/origin | 1 + .../indent/ruby/plist-comment10/expected | 6 + .../indent/ruby/plist-comment10/input.js | 3 + .../input/indent/ruby/plist-comment10/origin | 5 + .../input/indent/ruby/plist-comment2/expected | 2 + .../input/indent/ruby/plist-comment2/input.js | 3 + .../input/indent/ruby/plist-comment2/origin | 1 + .../input/indent/ruby/plist-comment3/expected | 4 + .../input/indent/ruby/plist-comment3/input.js | 3 + .../input/indent/ruby/plist-comment3/origin | 3 + .../input/indent/ruby/plist-comment4/expected | 4 + .../input/indent/ruby/plist-comment4/input.js | 3 + .../input/indent/ruby/plist-comment4/origin | 3 + .../input/indent/ruby/plist-comment5/expected | 4 + .../input/indent/ruby/plist-comment5/input.js | 3 + .../input/indent/ruby/plist-comment5/origin | 3 + .../input/indent/ruby/plist-comment6/expected | 4 + .../input/indent/ruby/plist-comment6/input.js | 3 + .../input/indent/ruby/plist-comment6/origin | 3 + .../input/indent/ruby/plist-comment7/expected | 3 + .../input/indent/ruby/plist-comment7/input.js | 3 + .../input/indent/ruby/plist-comment7/origin | 2 + .../input/indent/ruby/plist-comment8/expected | 4 + .../input/indent/ruby/plist-comment8/input.js | 3 + .../input/indent/ruby/plist-comment8/origin | 3 + .../input/indent/ruby/plist-comment9/expected | 5 + .../input/indent/ruby/plist-comment9/input.js | 3 + .../input/indent/ruby/plist-comment9/origin | 4 + autotests/input/indent/ruby/plist1/expected | 2 + autotests/input/indent/ruby/plist1/input.js | 3 + autotests/input/indent/ruby/plist1/origin | 1 + autotests/input/indent/ruby/plist10/expected | 4 + autotests/input/indent/ruby/plist10/input.js | 3 + autotests/input/indent/ruby/plist10/origin | 3 + autotests/input/indent/ruby/plist11/expected | 2 + autotests/input/indent/ruby/plist11/input.js | 3 + autotests/input/indent/ruby/plist11/origin | 1 + autotests/input/indent/ruby/plist12/expected | 2 + autotests/input/indent/ruby/plist12/input.js | 3 + autotests/input/indent/ruby/plist12/origin | 1 + autotests/input/indent/ruby/plist13/expected | 3 + autotests/input/indent/ruby/plist13/input.js | 3 + autotests/input/indent/ruby/plist13/origin | 2 + autotests/input/indent/ruby/plist14/expected | 3 + autotests/input/indent/ruby/plist14/input.js | 3 + autotests/input/indent/ruby/plist14/origin | 2 + autotests/input/indent/ruby/plist15/expected | 3 + autotests/input/indent/ruby/plist15/input.js | 3 + autotests/input/indent/ruby/plist15/origin | 2 + autotests/input/indent/ruby/plist16/expected | 4 + autotests/input/indent/ruby/plist16/input.js | 3 + autotests/input/indent/ruby/plist16/origin | 3 + autotests/input/indent/ruby/plist17/expected | 2 + autotests/input/indent/ruby/plist17/input.js | 3 + autotests/input/indent/ruby/plist17/origin | 1 + autotests/input/indent/ruby/plist18/expected | 3 + autotests/input/indent/ruby/plist18/input.js | 3 + autotests/input/indent/ruby/plist18/origin | 2 + autotests/input/indent/ruby/plist19/expected | 4 + autotests/input/indent/ruby/plist19/input.js | 3 + autotests/input/indent/ruby/plist19/origin | 3 + autotests/input/indent/ruby/plist2/expected | 2 + autotests/input/indent/ruby/plist2/input.js | 3 + autotests/input/indent/ruby/plist2/origin | 1 + autotests/input/indent/ruby/plist20/expected | 4 + autotests/input/indent/ruby/plist20/input.js | 3 + autotests/input/indent/ruby/plist20/origin | 3 + autotests/input/indent/ruby/plist3/expected | 3 + autotests/input/indent/ruby/plist3/input.js | 3 + autotests/input/indent/ruby/plist3/origin | 2 + autotests/input/indent/ruby/plist4/expected | 3 + autotests/input/indent/ruby/plist4/input.js | 3 + autotests/input/indent/ruby/plist4/origin | 2 + autotests/input/indent/ruby/plist5/expected | 3 + autotests/input/indent/ruby/plist5/input.js | 3 + autotests/input/indent/ruby/plist5/origin | 2 + autotests/input/indent/ruby/plist6/expected | 4 + autotests/input/indent/ruby/plist6/input.js | 3 + autotests/input/indent/ruby/plist6/origin | 3 + autotests/input/indent/ruby/plist7/expected | 2 + autotests/input/indent/ruby/plist7/input.js | 3 + autotests/input/indent/ruby/plist7/origin | 1 + autotests/input/indent/ruby/plist8/expected | 3 + autotests/input/indent/ruby/plist8/input.js | 3 + autotests/input/indent/ruby/plist8/origin | 2 + autotests/input/indent/ruby/plist9/expected | 4 + autotests/input/indent/ruby/plist9/input.js | 3 + autotests/input/indent/ruby/plist9/origin | 3 + autotests/input/indent/ruby/regexp1/expected | 2 + autotests/input/indent/ruby/regexp1/input.js | 3 + autotests/input/indent/ruby/regexp1/origin | 1 + .../input/indent/ruby/singleline01/expected | 2 + .../input/indent/ruby/singleline01/input.js | 3 + .../input/indent/ruby/singleline01/origin | 1 + .../input/indent/ruby/singleline02/expected | 2 + .../input/indent/ruby/singleline02/input.js | 3 + .../input/indent/ruby/singleline02/origin | 1 + .../input/indent/ruby/singleline03/expected | 2 + .../input/indent/ruby/singleline03/input.js | 3 + .../input/indent/ruby/singleline03/origin | 1 + .../input/indent/ruby/singleline04/expected | 3 + .../input/indent/ruby/singleline04/input.js | 3 + .../input/indent/ruby/singleline04/origin | 2 + .../input/indent/ruby/wordlist01/expected | 2 + .../input/indent/ruby/wordlist01/input.js | 3 + autotests/input/indent/ruby/wordlist01/origin | 1 + .../input/indent/ruby/wordlist02/expected | 3 + .../input/indent/ruby/wordlist02/input.js | 3 + autotests/input/indent/ruby/wordlist02/origin | 2 + .../input/indent/ruby/wordlist11/expected | 2 + .../input/indent/ruby/wordlist11/input.js | 3 + autotests/input/indent/ruby/wordlist11/origin | 1 + .../input/indent/ruby/wordlist12/expected | 3 + .../input/indent/ruby/wordlist12/input.js | 3 + autotests/input/indent/ruby/wordlist12/origin | 2 + .../input/indent/ruby/wordlist21/expected | 2 + .../input/indent/ruby/wordlist21/input.js | 3 + autotests/input/indent/ruby/wordlist21/origin | 1 + .../input/indent/ruby/wordlist22/expected | 3 + .../input/indent/ruby/wordlist22/input.js | 3 + autotests/input/indent/ruby/wordlist22/origin | 2 + autotests/input/indent/xml/.kateconfig | 1 + .../input/indent/xml/arguments1/expected | 2 + .../input/indent/xml/arguments1/input.js | 3 + autotests/input/indent/xml/arguments1/origin | 1 + .../input/indent/xml/arguments2/expected | 3 + .../input/indent/xml/arguments2/input.js | 3 + autotests/input/indent/xml/arguments2/origin | 2 + .../input/indent/xml/arguments3/expected | 3 + .../input/indent/xml/arguments3/input.js | 3 + autotests/input/indent/xml/arguments3/origin | 2 + .../input/indent/xml/arguments4/expected | 3 + .../input/indent/xml/arguments4/input.js | 3 + autotests/input/indent/xml/arguments4/origin | 2 + autotests/input/indent/xml/closing1/expected | 3 + autotests/input/indent/xml/closing1/input.js | 3 + autotests/input/indent/xml/closing1/origin | 2 + autotests/input/indent/xml/closing2/expected | 3 + autotests/input/indent/xml/closing2/input.js | 3 + autotests/input/indent/xml/closing2/origin | 2 + autotests/input/indent/xml/closing3/expected | 3 + autotests/input/indent/xml/closing3/input.js | 4 + autotests/input/indent/xml/closing3/origin | 2 + autotests/input/indent/xml/comment1/README | 1 + autotests/input/indent/xml/comment1/expected | 3 + autotests/input/indent/xml/comment1/input.js | 3 + autotests/input/indent/xml/comment1/origin | 2 + autotests/input/indent/xml/comment2/expected | 4 + autotests/input/indent/xml/comment2/input.js | 11 + autotests/input/indent/xml/comment2/origin | 4 + .../input/indent/xml/empty_lines/expected | 15 + .../input/indent/xml/empty_lines/input.js | 19 + autotests/input/indent/xml/empty_lines/origin | 15 + .../input/indent/xml/keep_indent/expected | 2 + .../input/indent/xml/keep_indent/input.js | 3 + autotests/input/indent/xml/keep_indent/origin | 1 + autotests/input/indent/xml/opening1/expected | 3 + autotests/input/indent/xml/opening1/input.js | 5 + autotests/input/indent/xml/opening1/origin | 1 + .../input/indent/xml/self_closing1/expected | 2 + .../input/indent/xml/self_closing1/input.js | 4 + .../input/indent/xml/self_closing1/origin | 1 + .../input/indent/xml/self_closing2/expected | 5 + .../input/indent/xml/self_closing2/input.js | 8 + .../input/indent/xml/self_closing2/origin | 5 + autotests/input/indent/xml/text1/expected | 2 + autotests/input/indent/xml/text1/input.js | 3 + autotests/input/indent/xml/text1/origin | 1 + autotests/input/indent/xml/text2/expected | 2 + autotests/input/indent/xml/text2/input.js | 3 + autotests/input/indent/xml/text2/origin | 1 + autotests/input/indent/xml/xhtml1/expected | 35 + autotests/input/indent/xml/xhtml1/input.js | 66 + autotests/input/indent/xml/xhtml1/origin | 1 + autotests/input/md5checksum.txt | 5643 +++++++ autotests/input/modelines.txt | 1 + .../input/scripting/bugs/317892_a/expected | 3 + .../input/scripting/bugs/317892_a/input.js | 13 + .../input/scripting/bugs/317892_a/origin | 3 + .../input/scripting/bugs/317892_b/expected | 2 + .../input/scripting/bugs/317892_b/input.js | 5 + .../input/scripting/bugs/317892_b/origin | 2 + .../input/scripting/bugs/317892_c/expected | 3 + .../input/scripting/bugs/317892_c/input.js | 5 + .../input/scripting/bugs/317892_c/origin | 3 + autotests/src/bug205447.cpp | 112 + autotests/src/bug205447.h | 41 + autotests/src/bug286887.cpp | 90 + autotests/src/bug286887.h | 40 + autotests/src/bug313759.cpp | 96 + autotests/src/bug313759.h | 40 + autotests/src/bug313769.cpp | 99 + autotests/src/bug313769.h | 40 + autotests/src/bug317111.cpp | 90 + autotests/src/bug317111.h | 40 + autotests/src/codecompletiontestmodel.cpp | 198 + autotests/src/codecompletiontestmodel.h | 63 + autotests/src/codecompletiontestmodels.cpp | 21 + autotests/src/codecompletiontestmodels.h | 166 + autotests/src/commands_test.cpp | 51 + autotests/src/commands_test.h | 35 + autotests/src/completion_test.cpp | 494 + autotests/src/completion_test.h | 69 + autotests/src/configinterface_test.cpp | 184 + autotests/src/configinterface_test.h | 38 + autotests/src/indenttest.cpp | 203 + autotests/src/indenttest.h | 71 + autotests/src/inlinenote_test.cpp | 222 + autotests/src/inlinenote_test.h | 39 + autotests/src/katedocument_test.cpp | 526 + autotests/src/katedocument_test.h | 62 + autotests/src/kateencodingtest.cpp | 63 + autotests/src/katefoldingtest.cpp | 150 + autotests/src/katefoldingtest.h | 39 + autotests/src/katetextbuffertest.cpp | 502 + autotests/src/katetextbuffertest.h | 46 + autotests/src/kateview_test.cpp | 433 + autotests/src/kateview_test.h | 51 + autotests/src/katewildcardmatcher_test.cpp | 61 + autotests/src/kte_documentcursor.cpp | 335 + autotests/src/kte_documentcursor.h | 43 + autotests/src/messagetest.cpp | 419 + autotests/src/messagetest.h | 45 + autotests/src/modificationsystem_test.cpp | 738 + autotests/src/modificationsystem_test.h | 57 + autotests/src/movingcursor_test.cpp | 338 + autotests/src/movingcursor_test.h | 40 + autotests/src/movingrange_test.cpp | 443 + autotests/src/movingrange_test.h | 40 + autotests/src/plaintextsearch_test.cpp | 167 + autotests/src/plaintextsearch_test.h | 60 + autotests/src/range_test.cpp | 239 + autotests/src/range_test.h | 48 + autotests/src/regexpsearch_test.cpp | 287 + autotests/src/regexpsearch_test.h | 57 + autotests/src/revision_test.cpp | 157 + autotests/src/revision_test.h | 38 + autotests/src/script_test_base.cpp | 192 + autotests/src/script_test_base.h | 56 + autotests/src/scriptdocument_test.cpp | 128 + autotests/src/scriptdocument_test.h | 60 + autotests/src/scripting_test.cpp | 74 + autotests/src/scripting_test.h | 35 + autotests/src/searchbar_test.cpp | 682 + autotests/src/searchbar_test.h | 82 + autotests/src/templatehandler_test.cpp | 372 + autotests/src/templatehandler_test.h | 63 + autotests/src/test.uc | 266 + autotests/src/testutils.cpp | 315 + autotests/src/testutils.h | 204 + autotests/src/undomanager_test.cpp | 242 + autotests/src/undomanager_test.h | 45 + autotests/src/vimode/CMakeLists.txt | 26 + autotests/src/vimode/base.cpp | 337 + autotests/src/vimode/base.h | 143 + autotests/src/vimode/completion.cpp | 610 + autotests/src/vimode/completion.h | 70 + autotests/src/vimode/emulatedcommandbar.cpp | 3377 ++++ autotests/src/vimode/emulatedcommandbar.h | 87 + .../emulatedcommandbarsetupandteardown.cpp | 88 + .../emulatedcommandbarsetupandteardown.h | 68 + .../vimode/fakecodecompletiontestmodel.cpp | 190 + .../src/vimode/fakecodecompletiontestmodel.h | 102 + autotests/src/vimode/keys.cpp | 1581 ++ autotests/src/vimode/keys.h | 42 + autotests/src/vimode/modes.cpp | 1645 ++ autotests/src/vimode/modes.h | 62 + autotests/src/vimode/view.cpp | 416 + autotests/src/vimode/view.h | 45 + autotests/src/wordcompletiontest.cpp | 116 + autotests/src/wordcompletiontest.h | 45 + cmake/FindEditorConfig.cmake | 63 + config.h.cmake | 12 + docs/apidocs-groups.dox | 168 + docs/coding-guidelines.dox | 40 + docs/design.dox | 52 + docs/pics/inlinenote.png | Bin 0 -> 16287 bytes docs/pics/ktexteditorhierarchy.png | Bin 0 -> 4058 bytes docs/pics/texthint.png | Bin 0 -> 5456 bytes docs/porting.dox | 193 + ktexteditor.categories | 1 + metainfo.yaml | 20 + po/af/ktexteditor5.po | 7845 +++++++++ po/ar/ktexteditor5.po | 7425 +++++++++ po/ast/ktexteditor5.po | 7100 ++++++++ po/be/ktexteditor5.po | 7574 +++++++++ po/bg/ktexteditor5.po | 7726 +++++++++ po/bn/ktexteditor5.po | 7306 ++++++++ po/br/ktexteditor5.po | 7409 +++++++++ po/bs/ktexteditor5.po | 7818 +++++++++ po/ca/ktexteditor5.po | 7754 +++++++++ po/ca@valencia/ktexteditor5.po | 7757 +++++++++ po/cs/ktexteditor5.po | 7504 +++++++++ po/cy/ktexteditor5.po | 7297 ++++++++ po/da/ktexteditor5.po | 7698 +++++++++ po/de/ktexteditor5.po | 7811 +++++++++ po/el/ktexteditor5.po | 7835 +++++++++ po/en_GB/ktexteditor5.po | 7670 +++++++++ po/eo/ktexteditor5.po | 7613 +++++++++ po/es/ktexteditor5.po | 7785 +++++++++ po/et/ktexteditor5.po | 7704 +++++++++ po/eu/ktexteditor5.po | 7719 +++++++++ po/fa/ktexteditor5.po | 7758 +++++++++ po/fi/ktexteditor5.po | 7688 +++++++++ po/fr/ktexteditor5.po | 8071 +++++++++ po/fy/ktexteditor5.po | 7954 +++++++++ po/ga/ktexteditor5.po | 7336 ++++++++ po/gl/ktexteditor5.po | 7716 +++++++++ po/gu/ktexteditor5.po | 7375 +++++++++ po/he/ktexteditor5.po | 7293 ++++++++ po/hi/ktexteditor5.po | 7572 +++++++++ po/hr/ktexteditor5.po | 7612 +++++++++ po/hsb/ktexteditor5.po | 7272 ++++++++ po/hu/ktexteditor5.po | 7792 +++++++++ po/ia/ktexteditor5.po | 7772 +++++++++ po/id/ktexteditor5.po | 7127 ++++++++ po/is/ktexteditor5.po | 7770 +++++++++ po/it/ktexteditor5.po | 7748 +++++++++ po/ja/ktexteditor5.po | 7713 +++++++++ po/ka/ktexteditor5.po | 7823 +++++++++ po/kk/ktexteditor5.po | 7808 +++++++++ po/km/ktexteditor5.po | 7723 +++++++++ po/ko/ktexteditor5.po | 7547 +++++++++ po/ku/ktexteditor5.po | 7195 ++++++++ po/lb/ktexteditor5.po | 7418 +++++++++ po/lt/ktexteditor5.po | 7688 +++++++++ po/lv/ktexteditor5.po | 7721 +++++++++ po/mai/ktexteditor5.po | 7559 +++++++++ po/mk/ktexteditor5.po | 7708 +++++++++ po/ml/ktexteditor5.po | 7311 ++++++++ po/mr/ktexteditor5.po | 7164 ++++++++ po/ms/ktexteditor5.po | 7800 +++++++++ po/nb/ktexteditor5.po | 7632 +++++++++ po/nds/ktexteditor5.po | 7765 +++++++++ po/ne/ktexteditor5.po | 7853 +++++++++ po/nl/ktexteditor5.po | 7766 +++++++++ po/nn/ktexteditor5.po | 7337 ++++++++ po/oc/ktexteditor5.po | 7258 ++++++++ po/pa/ktexteditor5.po | 7397 +++++++++ po/pl/ktexteditor5.po | 7709 +++++++++ po/pt/ktexteditor5.po | 7802 +++++++++ po/pt_BR/ktexteditor5.po | 7759 +++++++++ po/ro/ktexteditor5.po | 7852 +++++++++ po/ru/ktexteditor5.po | 7703 +++++++++ po/se/ktexteditor5.po | 7302 ++++++++ po/si/ktexteditor5.po | 7689 +++++++++ po/sk/ktexteditor5.po | 7701 +++++++++ po/sl/ktexteditor5.po | 7699 +++++++++ po/sq/ktexteditor5.po | 7180 ++++++++ po/sr/ktexteditor5.po | 7802 +++++++++ po/sr@ijekavian/ktexteditor5.po | 7806 +++++++++ po/sr@ijekavianlatin/ktexteditor5.po | 7812 +++++++++ po/sr@latin/ktexteditor5.po | 7811 +++++++++ po/sv/ktexteditor5.po | 7689 +++++++++ po/ta/ktexteditor5.po | 7726 +++++++++ po/tg/ktexteditor5.po | 7769 +++++++++ po/th/ktexteditor5.po | 7620 +++++++++ po/tr/ktexteditor5.po | 7698 +++++++++ po/ug/ktexteditor5.po | 7591 +++++++++ po/uk/ktexteditor5.po | 7753 +++++++++ po/uz/ktexteditor5.po | 7368 +++++++++ po/uz@cyrillic/ktexteditor5.po | 7368 +++++++++ po/vi/ktexteditor5.po | 7699 +++++++++ po/wa/ktexteditor5.po | 7390 +++++++++ po/xh/ktexteditor5.po | 7440 +++++++++ po/zh_CN/ktexteditor5.po | 7438 +++++++++ po/zh_TW/ktexteditor5.po | 7422 +++++++++ src/CMakeLists.txt | 375 + src/Messages.sh | 7 + src/README.md | 318 + src/TODO | 9 + src/buffer/katesecuretextbuffer.cpp | 161 + src/buffer/katesecuretextbuffer_p.h | 76 + src/buffer/katetextblock.cpp | 725 + src/buffer/katetextblock.h | 281 + src/buffer/katetextbuffer.cpp | 1014 ++ src/buffer/katetextbuffer.h | 661 + src/buffer/katetextcursor.cpp | 147 + src/buffer/katetextcursor.h | 260 + src/buffer/katetextfolding.cpp | 1030 ++ src/buffer/katetextfolding.h | 390 + src/buffer/katetexthistory.cpp | 607 + src/buffer/katetexthistory.h | 244 + src/buffer/katetextline.cpp | 218 + src/buffer/katetextline.h | 502 + src/buffer/katetextloader.h | 414 + src/buffer/katetextrange.cpp | 356 + src/buffer/katetextrange.h | 363 + ...org.kde.ktexteditor.katetextbuffer.actions | 111 + .../expandingtree/expandingdelegate.cpp | 350 + .../expandingtree/expandingdelegate.h | 86 + .../expandingtree/expandingtree.cpp | 67 + src/completion/expandingtree/expandingtree.h | 39 + .../expandingtree/expandingwidgetmodel.cpp | 556 + .../expandingtree/expandingwidgetmodel.h | 157 + src/completion/kateargumenthintmodel.cpp | 343 + src/completion/kateargumenthintmodel.h | 72 + src/completion/kateargumenthinttree.cpp | 316 + src/completion/kateargumenthinttree.h | 64 + src/completion/katecompletionconfig.cpp | 448 + src/completion/katecompletionconfig.h | 83 + src/completion/katecompletiondelegate.cpp | 168 + src/completion/katecompletiondelegate.h | 47 + src/completion/katecompletionmodel.cpp | 2404 +++ src/completion/katecompletionmodel.h | 417 + src/completion/katecompletiontree.cpp | 440 + src/completion/katecompletiontree.h | 71 + src/completion/katecompletionwidget.cpp | 1487 ++ src/completion/katecompletionwidget.h | 248 + src/completion/katekeywordcompletion.cpp | 174 + src/completion/katekeywordcompletion.h | 62 + src/completion/katewordcompletion.cpp | 583 + src/completion/katewordcompletion.h | 114 + src/data/CMakeLists.txt | 2 + src/data/katemoderc | 8 + src/data/katepart5ui.rc | 165 + src/data/kateschemarc | 193 + src/data/katesyntaxhighlightingrc | 203 + src/data/ktexteditor.desktop | 61 + src/data/ktexteditor.qrc | 14 + src/data/ktexteditorplugin.desktop | 62 + src/data/mascot.png | Bin 0 -> 18063 bytes src/dialogs/bordersappearanceconfigwidget.ui | 322 + src/dialogs/commandmenuconfigwidget.ui | 175 + src/dialogs/commandmenueditwidget.ui | 180 + src/dialogs/completionconfigtab.ui | 124 + src/dialogs/completionconfigwidget.ui | 464 + src/dialogs/editconfigwidget.ui | 189 + src/dialogs/filetypeconfigwidget.ui | 248 + src/dialogs/indentationconfigwidget.ui | 288 + src/dialogs/kateconfigpage.cpp | 39 + src/dialogs/kateconfigpage.h | 49 + src/dialogs/katedialogs.cpp | 1303 ++ src/dialogs/katedialogs.h | 354 + src/dialogs/navigationconfigwidget.ui | 165 + src/dialogs/opensaveconfigadvwidget.ui | 227 + src/dialogs/opensaveconfigwidget.ui | 243 + src/dialogs/spellcheckconfigwidget.ui | 29 + src/dialogs/textareaappearanceconfigwidget.ui | 266 + src/document/editorconfig.cpp | 166 + src/document/editorconfig.h | 63 + src/document/katebuffer.cpp | 679 + src/document/katebuffer.h | 294 + src/document/katedocument.cpp | 5989 +++++++ src/document/katedocument.h | 1413 ++ src/draft/foldinginterface.h | 204 + src/export/abstractexporter.h | 75 + src/export/exporter.cpp | 129 + src/export/exporter.h | 46 + src/export/htmlexporter.cpp | 122 + src/export/htmlexporter.h | 38 + src/include/CMakeLists.txt | 20 + src/include/ktexteditor/annotationinterface.h | 279 + src/include/ktexteditor/application.h | 249 + src/include/ktexteditor/attribute.h | 440 + .../ktexteditor/codecompletioninterface.h | 157 + src/include/ktexteditor/codecompletionmodel.h | 475 + .../codecompletionmodelcontrollerinterface.h | 190 + src/include/ktexteditor/command.h | 207 + src/include/ktexteditor/configinterface.h | 148 + src/include/ktexteditor/configpage.h | 131 + src/include/ktexteditor/cursor.h | 411 + src/include/ktexteditor/document.h | 1180 ++ src/include/ktexteditor/documentcursor.h | 425 + src/include/ktexteditor/editor.h | 258 + src/include/ktexteditor/inlinenote.h | 111 + src/include/ktexteditor/inlinenoteinterface.h | 116 + src/include/ktexteditor/inlinenoteprovider.h | 174 + src/include/ktexteditor/mainwindow.h | 320 + src/include/ktexteditor/markinterface.h | 406 + src/include/ktexteditor/message.h | 384 + .../ktexteditor/modificationinterface.h | 139 + src/include/ktexteditor/movingcursor.h | 394 + src/include/ktexteditor/movinginterface.h | 184 + src/include/ktexteditor/movingrange.h | 528 + src/include/ktexteditor/movingrangefeedback.h | 120 + src/include/ktexteditor/plugin.h | 150 + src/include/ktexteditor/range.h | 622 + .../ktexteditor/sessionconfiginterface.h | 123 + src/include/ktexteditor/texthintinterface.h | 185 + src/include/ktexteditor/view.h | 819 + src/inputmode/kateabstractinputmode.cpp | 50 + src/inputmode/kateabstractinputmode.h | 101 + .../kateabstractinputmodefactory.cpp | 29 + src/inputmode/kateabstractinputmodefactory.h | 46 + src/inputmode/katenormalinputmode.cpp | 265 + src/inputmode/katenormalinputmode.h | 118 + src/inputmode/katenormalinputmodefactory.cpp | 54 + src/inputmode/katenormalinputmodefactory.h | 38 + src/inputmode/kateviinputmode.cpp | 334 + src/inputmode/kateviinputmode.h | 102 + src/inputmode/kateviinputmodefactory.cpp | 57 + src/inputmode/kateviinputmodefactory.h | 44 + src/mode/katemodeconfigpage.cpp | 299 + src/mode/katemodeconfigpage.h | 65 + src/mode/katemodemanager.cpp | 298 + src/mode/katemodemanager.h | 109 + src/mode/katemodemenu.cpp | 144 + src/mode/katemodemenu.h | 66 + src/mode/katewildcardmatcher.cpp | 85 + src/mode/katewildcardmatcher.h | 44 + src/part/CMakeLists.txt | 12 + src/part/katepart.cpp | 71 + src/part/katepart.desktop | 65 + src/printing/kateprinter.cpp | 184 + src/printing/kateprinter.h | 61 + src/printing/printconfigwidgets.cpp | 660 + src/printing/printconfigwidgets.h | 155 + src/printing/printpainter.cpp | 710 + src/printing/printpainter.h | 174 + src/render/katelayoutcache.cpp | 593 + src/render/katelayoutcache.h | 169 + src/render/katelinelayout.cpp | 259 + src/render/katelinelayout.h | 124 + src/render/katerenderer.cpp | 1213 ++ src/render/katerenderer.h | 433 + src/render/katerenderrange.cpp | 214 + src/render/katerenderrange.h | 75 + src/render/katetextlayout.cpp | 239 + src/render/katetextlayout.h | 107 + src/schema/howtoimportschema.ui | 97 + src/schema/katecategorydrawer.cpp | 278 + src/schema/katecategorydrawer.h | 48 + src/schema/katecolortreewidget.cpp | 386 + src/schema/katecolortreewidget.h | 70 + src/schema/kateschema.cpp | 144 + src/schema/kateschema.h | 111 + src/schema/kateschemaconfig.cpp | 1380 ++ src/schema/kateschemaconfig.h | 216 + src/schema/katestyletreewidget.cpp | 739 + src/schema/katestyletreewidget.h | 82 + src/script/data/CMakeLists.txt | 23 + src/script/data/README.md | 0 src/script/data/commands/emmet.js | 199 + .../data/commands/jumpMatchingIndent.js | 79 + src/script/data/commands/quickcoding.js | 168 + src/script/data/commands/utils.js | 627 + .../data/files/quickcoding/cpp/a.template | 17 + .../data/files/quickcoding/cpp/c.template | 16 + src/script/data/indentation/ada.js | 796 + src/script/data/indentation/cmake.js | 758 + .../data/indentation/cppstyle.README.md | 80 + src/script/data/indentation/cppstyle.js | 2817 ++++ src/script/data/indentation/cstyle.js | 849 + src/script/data/indentation/haskell.js | 380 + src/script/data/indentation/latex.js | 75 + src/script/data/indentation/lilypond.js | 128 + src/script/data/indentation/lisp.js | 103 + src/script/data/indentation/lua.js | 360 + src/script/data/indentation/pascal.js | 1503 ++ src/script/data/indentation/python.js | 160 + src/script/data/indentation/r.js | 417 + src/script/data/indentation/replicode.js | 19 + src/script/data/indentation/ruby.js | 371 + src/script/data/indentation/xml.js | 182 + src/script/data/indentation_template.js | 52 + .../data/libraries/cmake_indenter_config.js | 32 + src/script/data/libraries/cursor.js | 90 + src/script/data/libraries/documentcursor.js | 190 + .../data/libraries/emmet/editor_interface.js | 239 + src/script/data/libraries/emmet/lib.js | 13762 ++++++++++++++++ src/script/data/libraries/range.js | 104 + src/script/data/libraries/string.js | 111 + src/script/data/libraries/underscore.js | 1200 ++ src/script/data/libraries/utils.js | 191 + src/script/data/test_selectioniface.js | 27 + src/script/katecommandlinescript.cpp | 147 + src/script/katecommandlinescript.h | 85 + src/script/kateindentscript.cpp | 94 + src/script/kateindentscript.h | 130 + src/script/katescript.cpp | 253 + src/script/katescript.h | 229 + src/script/katescriptaction.cpp | 165 + src/script/katescriptaction.h | 77 + src/script/katescriptdocument.cpp | 838 + src/script/katescriptdocument.h | 197 + src/script/katescripteditor.cpp | 50 + src/script/katescripteditor.h | 50 + src/script/katescripthelpers.cpp | 229 + src/script/katescripthelpers.h | 59 + src/script/katescriptmanager.cpp | 341 + src/script/katescriptmanager.h | 140 + src/script/katescriptview.cpp | 146 + src/script/katescriptview.h | 82 + src/script/scriptcursor.h | 46 + src/script/scriptrange.h | 49 + src/search/katematch.cpp | 91 + src/search/katematch.h | 52 + src/search/kateplaintextsearch.cpp | 143 + src/search/kateplaintextsearch.h | 70 + src/search/kateregexp.cpp | 301 + src/search/kateregexp.h | 101 + src/search/kateregexpsearch.cpp | 759 + src/search/kateregexpsearch.h | 107 + src/search/katesearchbar.cpp | 1654 ++ src/search/katesearchbar.h | 210 + src/search/searchbarincremental.ui | 192 + src/search/searchbarpower.ui | 340 + src/spellcheck/ontheflycheck.cpp | 908 + src/spellcheck/ontheflycheck.h | 141 + src/spellcheck/prefixstore.cpp | 187 + src/spellcheck/prefixstore.h | 88 + src/spellcheck/spellcheck.cpp | 287 + src/spellcheck/spellcheck.h | 72 + src/spellcheck/spellcheckbar.cpp | 453 + src/spellcheck/spellcheckbar.h | 160 + src/spellcheck/spellcheckbar.ui | 251 + src/spellcheck/spellcheckdialog.cpp | 326 + src/spellcheck/spellcheckdialog.h | 124 + src/spellcheck/spellingmenu.cpp | 225 + src/spellcheck/spellingmenu.h | 90 + src/swapfile/kateswapdiffcreator.cpp | 164 + src/swapfile/kateswapdiffcreator.h | 61 + src/swapfile/kateswapfile.cpp | 668 + src/swapfile/kateswapfile.h | 114 + src/syntax/kateextendedattribute.h | 53 + src/syntax/katehighlight.cpp | 665 + src/syntax/katehighlight.h | 354 + src/syntax/katehighlightingcmds.cpp | 63 + src/syntax/katehighlightingcmds.h | 68 + src/syntax/katehighlightmenu.cpp | 106 + src/syntax/katehighlightmenu.h | 65 + src/syntax/katesyntaxmanager.cpp | 629 + src/syntax/katesyntaxmanager.h | 126 + src/undo/katemodifiedundo.cpp | 459 + src/undo/katemodifiedundo.h | 139 + src/undo/kateundo.cpp | 426 + src/undo/kateundo.h | 571 + src/undo/kateundomanager.cpp | 451 + src/undo/kateundomanager.h | 228 + src/utils/application.cpp | 169 + src/utils/attribute.cpp | 215 + src/utils/codecompletioninterface.cpp | 26 + src/utils/codecompletionmodel.cpp | 118 + ...codecompletionmodelcontrollerinterface.cpp | 127 + src/utils/configinterface.cpp | 30 + src/utils/document.cpp | 135 + src/utils/documentcursor.cpp | 220 + src/utils/kateautoindent.cpp | 499 + src/utils/kateautoindent.h | 257 + src/utils/katebookmarks.cpp | 301 + src/utils/katebookmarks.h | 84 + src/utils/katecmd.cpp | 252 + src/utils/katecmd.h | 109 + src/utils/katecmds.cpp | 597 + src/utils/katecmds.h | 212 + .../katecommandrangeexpressionparser.cpp | 172 + src/utils/katecommandrangeexpressionparser.h | 64 + src/utils/kateconfig.cpp | 3136 ++++ src/utils/kateconfig.h | 870 + src/utils/katedefaultcolors.cpp | 141 + src/utils/katedefaultcolors.h | 117 + src/utils/kateglobal.cpp | 550 + src/utils/kateglobal.h | 562 + src/utils/katesedcmd.cpp | 302 + src/utils/katesedcmd.h | 145 + src/utils/katetemplatehandler.cpp | 561 + src/utils/katetemplatehandler.h | 252 + src/utils/ktexteditor.cpp | 377 + src/utils/mainwindow.cpp | 310 + src/utils/messageinterface.cpp | 180 + src/utils/movingcursor.cpp | 113 + src/utils/movinginterface.cpp | 35 + src/utils/movingrange.cpp | 56 + src/utils/movingrangefeedback.cpp | 59 + src/utils/range.cpp | 126 + src/variableeditor/katehelpbutton.cpp | 65 + src/variableeditor/katehelpbutton.h | 52 + src/variableeditor/variableeditor.cpp | 341 + src/variableeditor/variableeditor.h | 187 + src/variableeditor/variableitem.cpp | 364 + src/variableeditor/variableitem.h | 228 + src/variableeditor/variablelineedit.cpp | 376 + src/variableeditor/variablelineedit.h | 59 + src/variableeditor/variablelistview.cpp | 141 + src/variableeditor/variablelistview.h | 60 + src/view/inlinenotedata.h | 60 + src/view/kateanimation.cpp | 100 + src/view/kateanimation.h | 100 + src/view/katefadeeffect.cpp | 105 + src/view/katefadeeffect.h | 109 + src/view/katemessagewidget.cpp | 292 + src/view/katemessagewidget.h | 104 + src/view/katestatusbar.cpp | 483 + src/view/katestatusbar.h | 112 + src/view/katetextanimation.cpp | 122 + src/view/katetextanimation.h | 71 + src/view/katetextpreview.cpp | 158 + src/view/katetextpreview.h | 106 + src/view/kateview.cpp | 3754 +++++ src/view/kateview.h | 1019 ++ src/view/kateviewaccessible.h | 295 + src/view/kateviewhelpers.cpp | 2899 ++++ src/view/kateviewhelpers.h | 634 + src/view/kateviewinternal.cpp | 3947 +++++ src/view/kateviewinternal.h | 477 + src/view/wordcounter.cpp | 184 + src/view/wordcounter.h | 63 + src/vimode/appcommands.cpp | 523 + src/vimode/appcommands.h | 119 + src/vimode/cmds.cpp | 279 + src/vimode/cmds.h | 125 + src/vimode/command.cpp | 65 + src/vimode/command.h | 92 + src/vimode/commandinterface.h | 42 + src/vimode/commandrangeexpressionparser.cpp | 264 + src/vimode/commandrangeexpressionparser.h | 70 + src/vimode/completion.cpp | 50 + src/vimode/completion.h | 49 + src/vimode/completionrecorder.cpp | 73 + src/vimode/completionrecorder.h | 53 + src/vimode/completionreplayer.cpp | 153 + src/vimode/completionreplayer.h | 58 + src/vimode/config/configtab.cpp | 250 + src/vimode/config/configtab.h | 67 + src/vimode/config/configwidget.ui | 268 + src/vimode/definitions.h | 45 + src/vimode/emulatedcommandbar/activemode.cpp | 98 + src/vimode/emulatedcommandbar/activemode.h | 84 + src/vimode/emulatedcommandbar/commandmode.cpp | 406 + src/vimode/emulatedcommandbar/commandmode.h | 97 + src/vimode/emulatedcommandbar/completer.cpp | 256 + src/vimode/emulatedcommandbar/completer.h | 102 + .../emulatedcommandbar/emulatedcommandbar.cpp | 443 + .../emulatedcommandbar/emulatedcommandbar.h | 131 + .../interactivesedreplacemode.cpp | 109 + .../interactivesedreplacemode.h | 62 + .../emulatedcommandbar/matchhighlighter.cpp | 64 + .../emulatedcommandbar/matchhighlighter.h | 52 + src/vimode/emulatedcommandbar/searchmode.cpp | 386 + src/vimode/emulatedcommandbar/searchmode.h | 71 + src/vimode/globalstate.cpp | 84 + src/vimode/globalstate.h | 67 + src/vimode/history.cpp | 54 + src/vimode/history.h | 46 + src/vimode/inputmodemanager.cpp | 482 + src/vimode/inputmodemanager.h | 273 + src/vimode/jumps.cpp | 107 + src/vimode/jumps.h | 58 + src/vimode/keymapper.cpp | 169 + src/vimode/keymapper.h | 82 + src/vimode/keyparser.cpp | 694 + src/vimode/keyparser.h | 71 + src/vimode/lastchangerecorder.cpp | 122 + src/vimode/lastchangerecorder.h | 65 + src/vimode/macrorecorder.cpp | 109 + src/vimode/macrorecorder.h | 61 + src/vimode/macros.cpp | 153 + src/vimode/macros.h | 60 + src/vimode/mappings.cpp | 195 + src/vimode/mappings.h | 88 + src/vimode/marks.cpp | 309 + src/vimode/marks.h | 88 + src/vimode/modes/insertvimode.cpp | 593 + src/vimode/modes/insertvimode.h | 120 + src/vimode/modes/modebase.cpp | 1372 ++ src/vimode/modes/modebase.h | 178 + src/vimode/modes/normalvimode.cpp | 4147 +++++ src/vimode/modes/normalvimode.h | 398 + src/vimode/modes/replacevimode.cpp | 248 + src/vimode/modes/replacevimode.h | 91 + src/vimode/modes/visualvimode.cpp | 412 + src/vimode/modes/visualvimode.h | 121 + src/vimode/motion.cpp | 35 + src/vimode/motion.h | 51 + src/vimode/range.cpp | 94 + src/vimode/range.h | 86 + src/vimode/registers.cpp | 148 + src/vimode/registers.h | 74 + src/vimode/searcher.cpp | 222 + src/vimode/searcher.h | 78 + templates/CMakeLists.txt | 5 + templates/ktexteditor-plugin/CMakeLists.txt | 22 + templates/ktexteditor-plugin/README.md | 38 + .../ktexteditor-plugin.kdevtemplate | 73 + .../ktexteditor-plugin/ktexteditor-plugin.png | Bin 0 -> 35013 bytes .../ktexteditor-plugin/src/%{APPNAMELC}.json | 16 + .../src/%{APPNAMELC}plugin.cpp | 49 + .../src/%{APPNAMELC}plugin.h | 42 + .../src/%{APPNAMELC}view.cpp | 40 + .../ktexteditor-plugin/src/%{APPNAMELC}view.h | 41 + .../ktexteditor-plugin/src/CMakeLists.txt | 15 + templates/ktexteditor-plugin/src/Messages.sh | 2 + 2442 files changed, 826368 insertions(+) create mode 100644 .arcconfig create mode 100644 .gitignore create mode 100644 .kateconfig create mode 100644 .kateproject create mode 100644 CMakeLists.txt create mode 100644 COPYING.GPL-2 create mode 100644 COPYING.LGPL-2 create mode 100644 COPYING.LIB create mode 100644 ExtraDesktop.sh create mode 100644 KF5TextEditorConfig.cmake.in create mode 100644 README.md create mode 100644 autotests/CMakeLists.txt create mode 100644 autotests/input/.gitignore create mode 100644 autotests/input/bug205447.txt create mode 100644 autotests/input/bug311866.cpp create mode 100644 autotests/input/bug313759.js create mode 100644 autotests/input/bug313759.txt create mode 100644 autotests/input/bug313769.cpp create mode 100644 autotests/input/bug317111.js create mode 100644 autotests/input/bug317111.txt create mode 100644 autotests/input/commands/utils/bug_309977_a/README create mode 100644 autotests/input/commands/utils/bug_309977_a/expected create mode 100644 autotests/input/commands/utils/bug_309977_a/input.js create mode 100644 autotests/input/commands/utils/bug_309977_a/origin create mode 100644 autotests/input/commands/utils/bug_309977_b/README create mode 100644 autotests/input/commands/utils/bug_309977_b/expected create mode 100644 autotests/input/commands/utils/bug_309977_b/input.js create mode 100644 autotests/input/commands/utils/bug_309977_b/origin create mode 100644 autotests/input/commands/utils/bug_309978/expected create mode 100644 autotests/input/commands/utils/bug_309978/input.js create mode 100644 autotests/input/commands/utils/bug_309978/origin create mode 100644 autotests/input/commands/utils/bug_309980/expected create mode 100644 autotests/input/commands/utils/bug_309980/input.js create mode 100644 autotests/input/commands/utils/bug_309980/origin create mode 100644 autotests/input/commands/utils/duplicate_down_1/expected create mode 100644 autotests/input/commands/utils/duplicate_down_1/input.js create mode 100644 autotests/input/commands/utils/duplicate_down_1/origin create mode 100644 autotests/input/commands/utils/duplicate_down_2/expected create mode 100644 autotests/input/commands/utils/duplicate_down_2/input.js create mode 100644 autotests/input/commands/utils/duplicate_down_2/origin create mode 100644 autotests/input/commands/utils/duplicate_down_3/README create mode 100644 autotests/input/commands/utils/duplicate_down_3/expected create mode 100644 autotests/input/commands/utils/duplicate_down_3/input.js create mode 100644 autotests/input/commands/utils/duplicate_down_3/origin create mode 100644 autotests/input/commands/utils/duplicate_down_bottom/expected create mode 100644 autotests/input/commands/utils/duplicate_down_bottom/input.js create mode 100644 autotests/input/commands/utils/duplicate_down_bottom/origin create mode 100644 autotests/input/commands/utils/duplicate_down_selection_1/README create mode 100644 autotests/input/commands/utils/duplicate_down_selection_1/expected create mode 100644 autotests/input/commands/utils/duplicate_down_selection_1/input.js create mode 100644 autotests/input/commands/utils/duplicate_down_selection_1/origin create mode 100644 autotests/input/commands/utils/duplicate_down_selection_2/README create mode 100644 autotests/input/commands/utils/duplicate_down_selection_2/expected create mode 100644 autotests/input/commands/utils/duplicate_down_selection_2/input.js create mode 100644 autotests/input/commands/utils/duplicate_down_selection_2/origin create mode 100644 autotests/input/commands/utils/duplicate_down_selection_3/expected create mode 100644 autotests/input/commands/utils/duplicate_down_selection_3/input.js create mode 100644 autotests/input/commands/utils/duplicate_down_selection_3/origin create mode 100644 autotests/input/commands/utils/duplicate_down_selection_4/expected create mode 100644 autotests/input/commands/utils/duplicate_down_selection_4/input.js create mode 100644 autotests/input/commands/utils/duplicate_down_selection_4/origin create mode 100644 autotests/input/commands/utils/duplicate_up_1/expected create mode 100644 autotests/input/commands/utils/duplicate_up_1/input.js create mode 100644 autotests/input/commands/utils/duplicate_up_1/origin create mode 100644 autotests/input/commands/utils/duplicate_up_2/expected create mode 100644 autotests/input/commands/utils/duplicate_up_2/input.js create mode 100644 autotests/input/commands/utils/duplicate_up_2/origin create mode 100644 autotests/input/commands/utils/duplicate_up_3/README create mode 100644 autotests/input/commands/utils/duplicate_up_3/expected create mode 100644 autotests/input/commands/utils/duplicate_up_3/input.js create mode 100644 autotests/input/commands/utils/duplicate_up_3/origin create mode 100644 autotests/input/commands/utils/duplicate_up_bottom/expected create mode 100644 autotests/input/commands/utils/duplicate_up_bottom/input.js create mode 100644 autotests/input/commands/utils/duplicate_up_bottom/origin create mode 100644 autotests/input/commands/utils/duplicate_up_selection_1/README create mode 100644 autotests/input/commands/utils/duplicate_up_selection_1/expected create mode 100644 autotests/input/commands/utils/duplicate_up_selection_1/input.js create mode 100644 autotests/input/commands/utils/duplicate_up_selection_1/origin create mode 100644 autotests/input/commands/utils/duplicate_up_selection_2/README create mode 100644 autotests/input/commands/utils/duplicate_up_selection_2/expected create mode 100644 autotests/input/commands/utils/duplicate_up_selection_2/input.js create mode 100644 autotests/input/commands/utils/duplicate_up_selection_2/origin create mode 100644 autotests/input/commands/utils/move_down_1/expected create mode 100644 autotests/input/commands/utils/move_down_1/input.js create mode 100644 autotests/input/commands/utils/move_down_1/origin create mode 100644 autotests/input/commands/utils/move_down_bottom/README create mode 100644 autotests/input/commands/utils/move_down_bottom/expected create mode 100644 autotests/input/commands/utils/move_down_bottom/input.js create mode 100644 autotests/input/commands/utils/move_down_bottom/origin create mode 100644 autotests/input/commands/utils/move_down_selection_1/README create mode 100644 autotests/input/commands/utils/move_down_selection_1/expected create mode 100644 autotests/input/commands/utils/move_down_selection_1/input.js create mode 100644 autotests/input/commands/utils/move_down_selection_1/origin create mode 100644 autotests/input/commands/utils/move_down_selection_2/README create mode 100644 autotests/input/commands/utils/move_down_selection_2/expected create mode 100644 autotests/input/commands/utils/move_down_selection_2/input.js create mode 100644 autotests/input/commands/utils/move_down_selection_2/origin create mode 100644 autotests/input/commands/utils/move_up_1/expected create mode 100644 autotests/input/commands/utils/move_up_1/input.js create mode 100644 autotests/input/commands/utils/move_up_1/origin create mode 100644 autotests/input/commands/utils/move_up_selection_1/README create mode 100644 autotests/input/commands/utils/move_up_selection_1/expected create mode 100644 autotests/input/commands/utils/move_up_selection_1/input.js create mode 100644 autotests/input/commands/utils/move_up_selection_1/origin create mode 100644 autotests/input/commands/utils/move_up_selection_2/README create mode 100644 autotests/input/commands/utils/move_up_selection_2/expected create mode 100644 autotests/input/commands/utils/move_up_selection_2/input.js create mode 100644 autotests/input/commands/utils/move_up_selection_2/origin create mode 100644 autotests/input/encoding/cp1251.txt create mode 100644 autotests/input/encoding/cyrillic_utf8.txt create mode 100644 autotests/input/encoding/koi8-r.txt create mode 100644 autotests/input/encoding/latin15.txt create mode 100644 autotests/input/encoding/one-char-latin-15.txt create mode 100644 autotests/input/encoding/utf16.txt create mode 100644 autotests/input/encoding/utf16be.txt create mode 100644 autotests/input/encoding/utf32.txt create mode 100644 autotests/input/encoding/utf32be.txt create mode 100644 autotests/input/encoding/utf8.txt create mode 100644 autotests/input/indent/R/.kateconfig create mode 100644 autotests/input/indent/R/bracketsBreak/expected create mode 100644 autotests/input/indent/R/bracketsBreak/input.js create mode 100644 autotests/input/indent/R/bracketsBreak/origin create mode 100644 autotests/input/indent/R/closeBracket/expected create mode 100644 autotests/input/indent/R/closeBracket/input.js create mode 100644 autotests/input/indent/R/closeBracket/origin create mode 100644 autotests/input/indent/R/indentAssign/expected create mode 100644 autotests/input/indent/R/indentAssign/input.js create mode 100644 autotests/input/indent/R/indentAssign/origin create mode 100644 autotests/input/indent/R/indentBracket/expected create mode 100644 autotests/input/indent/R/indentBracket/input.js create mode 100644 autotests/input/indent/R/indentBracket/origin create mode 100644 autotests/input/indent/R/indentFormula/expected create mode 100644 autotests/input/indent/R/indentFormula/input.js create mode 100644 autotests/input/indent/R/indentFormula/origin create mode 100644 autotests/input/indent/R/indentOperator/expected create mode 100644 autotests/input/indent/R/indentOperator/input.js create mode 100644 autotests/input/indent/R/indentOperator/origin create mode 100644 autotests/input/indent/R/skipComment/expected create mode 100644 autotests/input/indent/R/skipComment/input.js create mode 100644 autotests/input/indent/R/skipComment/origin create mode 100644 autotests/input/indent/ada/.kateconfig create mode 100644 autotests/input/indent/ada/closepar2/expected create mode 100644 autotests/input/indent/ada/closepar2/input.js create mode 100644 autotests/input/indent/ada/closepar2/origin create mode 100644 autotests/input/indent/ada/longtest/expected create mode 100644 autotests/input/indent/ada/longtest/input.js create mode 100644 autotests/input/indent/ada/longtest/origin create mode 100644 autotests/input/indent/ada/newline/expected create mode 100644 autotests/input/indent/ada/newline/input.js create mode 100644 autotests/input/indent/ada/newline/origin create mode 100644 autotests/input/indent/ada/openpar2/expected create mode 100644 autotests/input/indent/ada/openpar2/input.js create mode 100644 autotests/input/indent/ada/openpar2/origin create mode 100644 autotests/input/indent/ada/prep1/expected create mode 100644 autotests/input/indent/ada/prep1/input.js create mode 100644 autotests/input/indent/ada/prep1/origin create mode 100644 autotests/input/indent/ada/trig1/expected create mode 100644 autotests/input/indent/ada/trig1/input.js create mode 100644 autotests/input/indent/ada/trig1/origin create mode 100644 autotests/input/indent/cmake/.kateconfig create mode 100644 autotests/input/indent/cmake/enter1/expected create mode 100644 autotests/input/indent/cmake/enter1/input.js create mode 100644 autotests/input/indent/cmake/enter1/origin create mode 100644 autotests/input/indent/cmake/enter2/expected create mode 100644 autotests/input/indent/cmake/enter2/input.js create mode 100644 autotests/input/indent/cmake/enter2/origin create mode 100644 autotests/input/indent/cmake/enter3/expected create mode 100644 autotests/input/indent/cmake/enter3/input.js create mode 100644 autotests/input/indent/cmake/enter3/origin create mode 100644 autotests/input/indent/cmake/paren1/expected create mode 100644 autotests/input/indent/cmake/paren1/input.js create mode 100644 autotests/input/indent/cmake/paren1/origin create mode 100644 autotests/input/indent/cmake/quot1/expected create mode 100644 autotests/input/indent/cmake/quot1/input.js create mode 100644 autotests/input/indent/cmake/quot1/origin create mode 100644 autotests/input/indent/cmake/var1/expected create mode 100644 autotests/input/indent/cmake/var1/input.js create mode 100644 autotests/input/indent/cmake/var1/origin create mode 100644 autotests/input/indent/cppstyle/.kateconfig create mode 100644 autotests/input/indent/cppstyle/autobrackets1/expected create mode 100644 autotests/input/indent/cppstyle/autobrackets1/input.js create mode 100644 autotests/input/indent/cppstyle/autobrackets1/origin create mode 100644 autotests/input/indent/cppstyle/autobrackets2/expected create mode 100644 autotests/input/indent/cppstyle/autobrackets2/input.js create mode 100644 autotests/input/indent/cppstyle/autobrackets2/origin create mode 100644 autotests/input/indent/cppstyle/autobrackets3/expected create mode 100644 autotests/input/indent/cppstyle/autobrackets3/input.js create mode 100644 autotests/input/indent/cppstyle/autobrackets3/origin create mode 100644 autotests/input/indent/cppstyle/colon1/expected create mode 100644 autotests/input/indent/cppstyle/colon1/input.js create mode 100644 autotests/input/indent/cppstyle/colon1/origin create mode 100644 autotests/input/indent/cppstyle/colon10/expected create mode 100644 autotests/input/indent/cppstyle/colon10/input.js create mode 100644 autotests/input/indent/cppstyle/colon10/origin create mode 100644 autotests/input/indent/cppstyle/colon2/expected create mode 100644 autotests/input/indent/cppstyle/colon2/input.js create mode 100644 autotests/input/indent/cppstyle/colon2/origin create mode 100644 autotests/input/indent/cppstyle/colon3/expected create mode 100644 autotests/input/indent/cppstyle/colon3/input.js create mode 100644 autotests/input/indent/cppstyle/colon3/origin create mode 100644 autotests/input/indent/cppstyle/colon4/expected create mode 100644 autotests/input/indent/cppstyle/colon4/input.js create mode 100644 autotests/input/indent/cppstyle/colon4/origin create mode 100644 autotests/input/indent/cppstyle/colon5/expected create mode 100644 autotests/input/indent/cppstyle/colon5/input.js create mode 100644 autotests/input/indent/cppstyle/colon5/origin create mode 100644 autotests/input/indent/cppstyle/colon6/expected create mode 100644 autotests/input/indent/cppstyle/colon6/input.js create mode 100644 autotests/input/indent/cppstyle/colon6/origin create mode 100644 autotests/input/indent/cppstyle/colon7/expected create mode 100644 autotests/input/indent/cppstyle/colon7/input.js create mode 100644 autotests/input/indent/cppstyle/colon7/origin create mode 100644 autotests/input/indent/cppstyle/colon8/expected create mode 100644 autotests/input/indent/cppstyle/colon8/input.js create mode 100644 autotests/input/indent/cppstyle/colon8/origin create mode 100644 autotests/input/indent/cppstyle/colon9/expected create mode 100644 autotests/input/indent/cppstyle/colon9/input.js create mode 100644 autotests/input/indent/cppstyle/colon9/origin create mode 100644 autotests/input/indent/cppstyle/comma1/expected create mode 100644 autotests/input/indent/cppstyle/comma1/input.js create mode 100644 autotests/input/indent/cppstyle/comma1/origin create mode 100644 autotests/input/indent/cppstyle/comma2/expected create mode 100644 autotests/input/indent/cppstyle/comma2/input.js create mode 100644 autotests/input/indent/cppstyle/comma2/origin create mode 100644 autotests/input/indent/cppstyle/comma3/expected create mode 100644 autotests/input/indent/cppstyle/comma3/input.js create mode 100644 autotests/input/indent/cppstyle/comma3/origin create mode 100644 autotests/input/indent/cppstyle/comma4/expected create mode 100644 autotests/input/indent/cppstyle/comma4/input.js create mode 100644 autotests/input/indent/cppstyle/comma4/origin create mode 100644 autotests/input/indent/cppstyle/comma5/expected create mode 100644 autotests/input/indent/cppstyle/comma5/input.js create mode 100644 autotests/input/indent/cppstyle/comma5/origin create mode 100644 autotests/input/indent/cppstyle/comment1/expected create mode 100644 autotests/input/indent/cppstyle/comment1/input.js create mode 100644 autotests/input/indent/cppstyle/comment1/origin create mode 100644 autotests/input/indent/cppstyle/comment10/expected create mode 100644 autotests/input/indent/cppstyle/comment10/input.js create mode 100644 autotests/input/indent/cppstyle/comment10/origin create mode 100644 autotests/input/indent/cppstyle/comment11/expected create mode 100644 autotests/input/indent/cppstyle/comment11/input.js create mode 100644 autotests/input/indent/cppstyle/comment11/origin create mode 100644 autotests/input/indent/cppstyle/comment12/expected create mode 100644 autotests/input/indent/cppstyle/comment12/input.js create mode 100644 autotests/input/indent/cppstyle/comment12/origin create mode 100644 autotests/input/indent/cppstyle/comment13/expected create mode 100644 autotests/input/indent/cppstyle/comment13/input.js create mode 100644 autotests/input/indent/cppstyle/comment13/origin create mode 100644 autotests/input/indent/cppstyle/comment14/expected create mode 100644 autotests/input/indent/cppstyle/comment14/input.js create mode 100644 autotests/input/indent/cppstyle/comment14/origin create mode 100644 autotests/input/indent/cppstyle/comment15/expected create mode 100644 autotests/input/indent/cppstyle/comment15/input.js create mode 100644 autotests/input/indent/cppstyle/comment15/origin create mode 100644 autotests/input/indent/cppstyle/comment16/expected create mode 100644 autotests/input/indent/cppstyle/comment16/input.js create mode 100644 autotests/input/indent/cppstyle/comment16/origin create mode 100644 autotests/input/indent/cppstyle/comment17/expected create mode 100644 autotests/input/indent/cppstyle/comment17/input.js create mode 100644 autotests/input/indent/cppstyle/comment17/origin create mode 100644 autotests/input/indent/cppstyle/comment18/expected create mode 100644 autotests/input/indent/cppstyle/comment18/input.js create mode 100644 autotests/input/indent/cppstyle/comment18/origin create mode 100644 autotests/input/indent/cppstyle/comment19/expected create mode 100644 autotests/input/indent/cppstyle/comment19/input.js create mode 100644 autotests/input/indent/cppstyle/comment19/origin create mode 100644 autotests/input/indent/cppstyle/comment2/expected create mode 100644 autotests/input/indent/cppstyle/comment2/input.js create mode 100644 autotests/input/indent/cppstyle/comment2/origin create mode 100644 autotests/input/indent/cppstyle/comment20/expected create mode 100644 autotests/input/indent/cppstyle/comment20/input.js create mode 100644 autotests/input/indent/cppstyle/comment20/origin create mode 100644 autotests/input/indent/cppstyle/comment3/expected create mode 100644 autotests/input/indent/cppstyle/comment3/input.js create mode 100644 autotests/input/indent/cppstyle/comment3/origin create mode 100644 autotests/input/indent/cppstyle/comment4/expected create mode 100644 autotests/input/indent/cppstyle/comment4/input.js create mode 100644 autotests/input/indent/cppstyle/comment4/origin create mode 100644 autotests/input/indent/cppstyle/comment5/expected create mode 100644 autotests/input/indent/cppstyle/comment5/input.js create mode 100644 autotests/input/indent/cppstyle/comment5/origin create mode 100644 autotests/input/indent/cppstyle/comment6/expected create mode 100644 autotests/input/indent/cppstyle/comment6/input.js create mode 100644 autotests/input/indent/cppstyle/comment6/origin create mode 100644 autotests/input/indent/cppstyle/comment7/expected create mode 100644 autotests/input/indent/cppstyle/comment7/input.js create mode 100644 autotests/input/indent/cppstyle/comment7/origin create mode 100644 autotests/input/indent/cppstyle/comment8/expected create mode 100644 autotests/input/indent/cppstyle/comment8/input.js create mode 100644 autotests/input/indent/cppstyle/comment8/origin create mode 100644 autotests/input/indent/cppstyle/comment9/expected create mode 100644 autotests/input/indent/cppstyle/comment9/input.js create mode 100644 autotests/input/indent/cppstyle/comment9/origin create mode 100644 autotests/input/indent/cppstyle/do1/expected create mode 100644 autotests/input/indent/cppstyle/do1/input.js create mode 100644 autotests/input/indent/cppstyle/do1/origin create mode 100644 autotests/input/indent/cppstyle/dot1/expected create mode 100644 autotests/input/indent/cppstyle/dot1/input.js create mode 100644 autotests/input/indent/cppstyle/dot1/origin create mode 100644 autotests/input/indent/cppstyle/dot2/expected create mode 100644 autotests/input/indent/cppstyle/dot2/input.js create mode 100644 autotests/input/indent/cppstyle/dot2/origin create mode 100644 autotests/input/indent/cppstyle/dot3/expected create mode 100644 autotests/input/indent/cppstyle/dot3/input.js create mode 100644 autotests/input/indent/cppstyle/dot3/origin create mode 100644 autotests/input/indent/cppstyle/doxygen1/expected create mode 100644 autotests/input/indent/cppstyle/doxygen1/input.js create mode 100644 autotests/input/indent/cppstyle/doxygen1/origin create mode 100644 autotests/input/indent/cppstyle/doxygen2/expected create mode 100644 autotests/input/indent/cppstyle/doxygen2/input.js create mode 100644 autotests/input/indent/cppstyle/doxygen2/origin create mode 100644 autotests/input/indent/cppstyle/doxygen3/expected create mode 100644 autotests/input/indent/cppstyle/doxygen3/input.js create mode 100644 autotests/input/indent/cppstyle/doxygen3/origin create mode 100644 autotests/input/indent/cppstyle/doxygen4/expected create mode 100644 autotests/input/indent/cppstyle/doxygen4/input.js create mode 100644 autotests/input/indent/cppstyle/doxygen4/origin create mode 100644 autotests/input/indent/cppstyle/doxygen5/expected create mode 100644 autotests/input/indent/cppstyle/doxygen5/input.js create mode 100644 autotests/input/indent/cppstyle/doxygen5/origin create mode 100644 autotests/input/indent/cppstyle/doxygen6/expected create mode 100644 autotests/input/indent/cppstyle/doxygen6/input.js create mode 100644 autotests/input/indent/cppstyle/doxygen6/origin create mode 100644 autotests/input/indent/cppstyle/doxygen7/expected create mode 100644 autotests/input/indent/cppstyle/doxygen7/input.js create mode 100644 autotests/input/indent/cppstyle/doxygen7/origin create mode 100644 autotests/input/indent/cppstyle/doxygen8/expected create mode 100644 autotests/input/indent/cppstyle/doxygen8/input.js create mode 100644 autotests/input/indent/cppstyle/doxygen8/origin create mode 100644 autotests/input/indent/cppstyle/doxygen9/expected create mode 100644 autotests/input/indent/cppstyle/doxygen9/input.js create mode 100644 autotests/input/indent/cppstyle/doxygen9/origin create mode 100644 autotests/input/indent/cppstyle/equal1/expected create mode 100644 autotests/input/indent/cppstyle/equal1/input.js create mode 100644 autotests/input/indent/cppstyle/equal1/origin create mode 100644 autotests/input/indent/cppstyle/equal2/expected create mode 100644 autotests/input/indent/cppstyle/equal2/input.js create mode 100644 autotests/input/indent/cppstyle/equal2/origin create mode 100644 autotests/input/indent/cppstyle/equal3/expected create mode 100644 autotests/input/indent/cppstyle/equal3/input.js create mode 100644 autotests/input/indent/cppstyle/equal3/origin create mode 100644 autotests/input/indent/cppstyle/equal4/expected create mode 100644 autotests/input/indent/cppstyle/equal4/input.js create mode 100644 autotests/input/indent/cppstyle/equal4/origin create mode 100644 autotests/input/indent/cppstyle/equal5/expected create mode 100644 autotests/input/indent/cppstyle/equal5/input.js create mode 100644 autotests/input/indent/cppstyle/equal5/origin create mode 100644 autotests/input/indent/cppstyle/equal6/expected create mode 100644 autotests/input/indent/cppstyle/equal6/input.js create mode 100644 autotests/input/indent/cppstyle/equal6/origin create mode 100644 autotests/input/indent/cppstyle/exclamation1/expected create mode 100644 autotests/input/indent/cppstyle/exclamation1/input.js create mode 100644 autotests/input/indent/cppstyle/exclamation1/origin create mode 100644 autotests/input/indent/cppstyle/exclamation2/expected create mode 100644 autotests/input/indent/cppstyle/exclamation2/input.js create mode 100644 autotests/input/indent/cppstyle/exclamation2/origin create mode 100644 autotests/input/indent/cppstyle/exclamation3/expected create mode 100644 autotests/input/indent/cppstyle/exclamation3/input.js create mode 100644 autotests/input/indent/cppstyle/exclamation3/origin create mode 100644 autotests/input/indent/cppstyle/exclamation4/expected create mode 100644 autotests/input/indent/cppstyle/exclamation4/input.js create mode 100644 autotests/input/indent/cppstyle/exclamation4/origin create mode 100644 autotests/input/indent/cppstyle/exclamation5/expected create mode 100644 autotests/input/indent/cppstyle/exclamation5/input.js create mode 100644 autotests/input/indent/cppstyle/exclamation5/origin create mode 100644 autotests/input/indent/cppstyle/for1/expected create mode 100644 autotests/input/indent/cppstyle/for1/input.js create mode 100644 autotests/input/indent/cppstyle/for1/origin create mode 100644 autotests/input/indent/cppstyle/for2/expected create mode 100644 autotests/input/indent/cppstyle/for2/input.js create mode 100644 autotests/input/indent/cppstyle/for2/origin create mode 100644 autotests/input/indent/cppstyle/lab1/expected create mode 100644 autotests/input/indent/cppstyle/lab1/input.js create mode 100644 autotests/input/indent/cppstyle/lab1/origin create mode 100644 autotests/input/indent/cppstyle/lab10/expected create mode 100644 autotests/input/indent/cppstyle/lab10/input.js create mode 100644 autotests/input/indent/cppstyle/lab10/origin create mode 100644 autotests/input/indent/cppstyle/lab2/expected create mode 100644 autotests/input/indent/cppstyle/lab2/input.js create mode 100644 autotests/input/indent/cppstyle/lab2/origin create mode 100644 autotests/input/indent/cppstyle/lab3/expected create mode 100644 autotests/input/indent/cppstyle/lab3/input.js create mode 100644 autotests/input/indent/cppstyle/lab3/origin create mode 100644 autotests/input/indent/cppstyle/lab4/expected create mode 100644 autotests/input/indent/cppstyle/lab4/input.js create mode 100644 autotests/input/indent/cppstyle/lab4/origin create mode 100644 autotests/input/indent/cppstyle/lab5/expected create mode 100644 autotests/input/indent/cppstyle/lab5/input.js create mode 100644 autotests/input/indent/cppstyle/lab5/origin create mode 100644 autotests/input/indent/cppstyle/lab6/expected create mode 100644 autotests/input/indent/cppstyle/lab6/input.js create mode 100644 autotests/input/indent/cppstyle/lab6/origin create mode 100644 autotests/input/indent/cppstyle/lab7/expected create mode 100644 autotests/input/indent/cppstyle/lab7/input.js create mode 100644 autotests/input/indent/cppstyle/lab7/origin create mode 100644 autotests/input/indent/cppstyle/lab8/expected create mode 100644 autotests/input/indent/cppstyle/lab8/input.js create mode 100644 autotests/input/indent/cppstyle/lab8/origin create mode 100644 autotests/input/indent/cppstyle/lab9/expected create mode 100644 autotests/input/indent/cppstyle/lab9/input.js create mode 100644 autotests/input/indent/cppstyle/lab9/origin create mode 100644 autotests/input/indent/cppstyle/normal1/expected create mode 100644 autotests/input/indent/cppstyle/normal1/input.js create mode 100644 autotests/input/indent/cppstyle/normal1/origin create mode 100644 autotests/input/indent/cppstyle/normal10/expected create mode 100644 autotests/input/indent/cppstyle/normal10/input.js create mode 100644 autotests/input/indent/cppstyle/normal10/origin create mode 100644 autotests/input/indent/cppstyle/normal11/expected create mode 100644 autotests/input/indent/cppstyle/normal11/input.js create mode 100644 autotests/input/indent/cppstyle/normal11/origin create mode 100644 autotests/input/indent/cppstyle/normal12/expected create mode 100644 autotests/input/indent/cppstyle/normal12/input.js create mode 100644 autotests/input/indent/cppstyle/normal12/origin create mode 100644 autotests/input/indent/cppstyle/normal13/expected create mode 100644 autotests/input/indent/cppstyle/normal13/input.js create mode 100644 autotests/input/indent/cppstyle/normal13/origin create mode 100644 autotests/input/indent/cppstyle/normal14/expected create mode 100644 autotests/input/indent/cppstyle/normal14/input.js create mode 100644 autotests/input/indent/cppstyle/normal14/origin create mode 100644 autotests/input/indent/cppstyle/normal15/expected create mode 100644 autotests/input/indent/cppstyle/normal15/input.js create mode 100644 autotests/input/indent/cppstyle/normal15/origin create mode 100644 autotests/input/indent/cppstyle/normal16/expected create mode 100644 autotests/input/indent/cppstyle/normal16/input.js create mode 100644 autotests/input/indent/cppstyle/normal16/origin create mode 100644 autotests/input/indent/cppstyle/normal17/expected create mode 100644 autotests/input/indent/cppstyle/normal17/input.js create mode 100644 autotests/input/indent/cppstyle/normal17/origin create mode 100644 autotests/input/indent/cppstyle/normal18/expected create mode 100644 autotests/input/indent/cppstyle/normal18/input.js create mode 100644 autotests/input/indent/cppstyle/normal18/origin create mode 100644 autotests/input/indent/cppstyle/normal19/expected create mode 100644 autotests/input/indent/cppstyle/normal19/input.js create mode 100644 autotests/input/indent/cppstyle/normal19/origin create mode 100644 autotests/input/indent/cppstyle/normal2/expected create mode 100644 autotests/input/indent/cppstyle/normal2/input.js create mode 100644 autotests/input/indent/cppstyle/normal2/origin create mode 100644 autotests/input/indent/cppstyle/normal20/expected create mode 100644 autotests/input/indent/cppstyle/normal20/input.js create mode 100644 autotests/input/indent/cppstyle/normal20/origin create mode 100644 autotests/input/indent/cppstyle/normal21/expected create mode 100644 autotests/input/indent/cppstyle/normal21/input.js create mode 100644 autotests/input/indent/cppstyle/normal21/origin create mode 100644 autotests/input/indent/cppstyle/normal22/expected create mode 100644 autotests/input/indent/cppstyle/normal22/input.js create mode 100644 autotests/input/indent/cppstyle/normal22/origin create mode 100644 autotests/input/indent/cppstyle/normal23/expected create mode 100644 autotests/input/indent/cppstyle/normal23/input.js create mode 100644 autotests/input/indent/cppstyle/normal23/origin create mode 100644 autotests/input/indent/cppstyle/normal24/expected create mode 100644 autotests/input/indent/cppstyle/normal24/input.js create mode 100644 autotests/input/indent/cppstyle/normal24/origin create mode 100644 autotests/input/indent/cppstyle/normal25/expected create mode 100644 autotests/input/indent/cppstyle/normal25/input.js create mode 100644 autotests/input/indent/cppstyle/normal25/origin create mode 100644 autotests/input/indent/cppstyle/normal3/expected create mode 100644 autotests/input/indent/cppstyle/normal3/input.js create mode 100644 autotests/input/indent/cppstyle/normal3/origin create mode 100644 autotests/input/indent/cppstyle/normal4/expected create mode 100644 autotests/input/indent/cppstyle/normal4/input.js create mode 100644 autotests/input/indent/cppstyle/normal4/origin create mode 100644 autotests/input/indent/cppstyle/normal5/expected create mode 100644 autotests/input/indent/cppstyle/normal5/input.js create mode 100644 autotests/input/indent/cppstyle/normal5/origin create mode 100644 autotests/input/indent/cppstyle/normal6/expected create mode 100644 autotests/input/indent/cppstyle/normal6/input.js create mode 100644 autotests/input/indent/cppstyle/normal6/origin create mode 100644 autotests/input/indent/cppstyle/normal7/expected create mode 100644 autotests/input/indent/cppstyle/normal7/input.js create mode 100644 autotests/input/indent/cppstyle/normal7/origin create mode 100644 autotests/input/indent/cppstyle/normal8/expected create mode 100644 autotests/input/indent/cppstyle/normal8/input.js create mode 100644 autotests/input/indent/cppstyle/normal8/origin create mode 100644 autotests/input/indent/cppstyle/normal9/expected create mode 100644 autotests/input/indent/cppstyle/normal9/input.js create mode 100644 autotests/input/indent/cppstyle/normal9/origin create mode 100644 autotests/input/indent/cppstyle/parens1/expected create mode 100644 autotests/input/indent/cppstyle/parens1/input.js create mode 100644 autotests/input/indent/cppstyle/parens1/origin create mode 100644 autotests/input/indent/cppstyle/pipe1/expected create mode 100644 autotests/input/indent/cppstyle/pipe1/input.js create mode 100644 autotests/input/indent/cppstyle/pipe1/origin create mode 100644 autotests/input/indent/cppstyle/plist1/expected create mode 100644 autotests/input/indent/cppstyle/plist1/input.js create mode 100644 autotests/input/indent/cppstyle/plist1/origin create mode 100644 autotests/input/indent/cppstyle/plist2/expected create mode 100644 autotests/input/indent/cppstyle/plist2/input.js create mode 100644 autotests/input/indent/cppstyle/plist2/origin create mode 100644 autotests/input/indent/cppstyle/plist3/expected create mode 100644 autotests/input/indent/cppstyle/plist3/input.js create mode 100644 autotests/input/indent/cppstyle/plist3/origin create mode 100644 autotests/input/indent/cppstyle/preprocessor1/expected create mode 100644 autotests/input/indent/cppstyle/preprocessor1/input.js create mode 100644 autotests/input/indent/cppstyle/preprocessor1/origin create mode 100644 autotests/input/indent/cppstyle/preprocessor2/expected create mode 100644 autotests/input/indent/cppstyle/preprocessor2/input.js create mode 100644 autotests/input/indent/cppstyle/preprocessor2/origin create mode 100644 autotests/input/indent/cppstyle/preprocessor3/expected create mode 100644 autotests/input/indent/cppstyle/preprocessor3/input.js create mode 100644 autotests/input/indent/cppstyle/preprocessor3/origin create mode 100644 autotests/input/indent/cppstyle/preprocessor4/expected create mode 100644 autotests/input/indent/cppstyle/preprocessor4/input.js create mode 100644 autotests/input/indent/cppstyle/preprocessor4/origin create mode 100644 autotests/input/indent/cppstyle/preprocessor5/expected create mode 100644 autotests/input/indent/cppstyle/preprocessor5/input.js create mode 100644 autotests/input/indent/cppstyle/preprocessor5/origin create mode 100644 autotests/input/indent/cppstyle/preprocessor6/expected create mode 100644 autotests/input/indent/cppstyle/preprocessor6/input.js create mode 100644 autotests/input/indent/cppstyle/preprocessor6/origin create mode 100644 autotests/input/indent/cppstyle/quote1/expected create mode 100644 autotests/input/indent/cppstyle/quote1/input.js create mode 100644 autotests/input/indent/cppstyle/quote1/origin create mode 100644 autotests/input/indent/cppstyle/quote2/expected create mode 100644 autotests/input/indent/cppstyle/quote2/input.js create mode 100644 autotests/input/indent/cppstyle/quote2/origin create mode 100644 autotests/input/indent/cppstyle/quote3/expected create mode 100644 autotests/input/indent/cppstyle/quote3/input.js create mode 100644 autotests/input/indent/cppstyle/quote3/origin create mode 100644 autotests/input/indent/cppstyle/quote4/expected create mode 100644 autotests/input/indent/cppstyle/quote4/input.js create mode 100644 autotests/input/indent/cppstyle/quote4/origin create mode 100644 autotests/input/indent/cppstyle/semicolon1/expected create mode 100644 autotests/input/indent/cppstyle/semicolon1/input.js create mode 100644 autotests/input/indent/cppstyle/semicolon1/origin create mode 100644 autotests/input/indent/cppstyle/semicolon2/expected create mode 100644 autotests/input/indent/cppstyle/semicolon2/input.js create mode 100644 autotests/input/indent/cppstyle/semicolon2/origin create mode 100644 autotests/input/indent/cppstyle/semicolon3/expected create mode 100644 autotests/input/indent/cppstyle/semicolon3/input.js create mode 100644 autotests/input/indent/cppstyle/semicolon3/origin create mode 100644 autotests/input/indent/cppstyle/semicolon4/expected create mode 100644 autotests/input/indent/cppstyle/semicolon4/input.js create mode 100644 autotests/input/indent/cppstyle/semicolon4/origin create mode 100644 autotests/input/indent/cppstyle/semicolon5/expected create mode 100644 autotests/input/indent/cppstyle/semicolon5/input.js create mode 100644 autotests/input/indent/cppstyle/semicolon5/origin create mode 100644 autotests/input/indent/cppstyle/semicolon6/expected create mode 100644 autotests/input/indent/cppstyle/semicolon6/input.js create mode 100644 autotests/input/indent/cppstyle/semicolon6/origin create mode 100644 autotests/input/indent/cppstyle/semicolon7/expected create mode 100644 autotests/input/indent/cppstyle/semicolon7/input.js create mode 100644 autotests/input/indent/cppstyle/semicolon7/origin create mode 100644 autotests/input/indent/cppstyle/semicolon8/expected create mode 100644 autotests/input/indent/cppstyle/semicolon8/input.js create mode 100644 autotests/input/indent/cppstyle/semicolon8/origin create mode 100644 autotests/input/indent/cppstyle/shortcut1/expected create mode 100644 autotests/input/indent/cppstyle/shortcut1/input.js create mode 100644 autotests/input/indent/cppstyle/shortcut1/origin create mode 100644 autotests/input/indent/cppstyle/shortcut10/expected create mode 100644 autotests/input/indent/cppstyle/shortcut10/input.js create mode 100644 autotests/input/indent/cppstyle/shortcut10/origin create mode 100644 autotests/input/indent/cppstyle/shortcut11/expected create mode 100644 autotests/input/indent/cppstyle/shortcut11/input.js create mode 100644 autotests/input/indent/cppstyle/shortcut11/origin create mode 100644 autotests/input/indent/cppstyle/shortcut12/expected create mode 100644 autotests/input/indent/cppstyle/shortcut12/input.js create mode 100644 autotests/input/indent/cppstyle/shortcut12/origin create mode 100644 autotests/input/indent/cppstyle/shortcut2/expected create mode 100644 autotests/input/indent/cppstyle/shortcut2/input.js create mode 100644 autotests/input/indent/cppstyle/shortcut2/origin create mode 100644 autotests/input/indent/cppstyle/shortcut3/expected create mode 100644 autotests/input/indent/cppstyle/shortcut3/input.js create mode 100644 autotests/input/indent/cppstyle/shortcut3/origin create mode 100644 autotests/input/indent/cppstyle/shortcut4/expected create mode 100644 autotests/input/indent/cppstyle/shortcut4/input.js create mode 100644 autotests/input/indent/cppstyle/shortcut4/origin create mode 100644 autotests/input/indent/cppstyle/shortcut6/expected create mode 100644 autotests/input/indent/cppstyle/shortcut6/input.js create mode 100644 autotests/input/indent/cppstyle/shortcut6/origin create mode 100644 autotests/input/indent/cppstyle/shortcut7/expected create mode 100644 autotests/input/indent/cppstyle/shortcut7/input.js create mode 100644 autotests/input/indent/cppstyle/shortcut7/origin create mode 100644 autotests/input/indent/cppstyle/shortcut8/expected create mode 100644 autotests/input/indent/cppstyle/shortcut8/input.js create mode 100644 autotests/input/indent/cppstyle/shortcut8/origin create mode 100644 autotests/input/indent/cppstyle/shortcut9/expected create mode 100644 autotests/input/indent/cppstyle/shortcut9/input.js create mode 100644 autotests/input/indent/cppstyle/shortcut9/origin create mode 100644 autotests/input/indent/cppstyle/space1/expected create mode 100644 autotests/input/indent/cppstyle/space1/input.js create mode 100644 autotests/input/indent/cppstyle/space1/origin create mode 100644 autotests/input/indent/cppstyle/space2/expected create mode 100644 autotests/input/indent/cppstyle/space2/input.js create mode 100644 autotests/input/indent/cppstyle/space2/origin create mode 100644 autotests/input/indent/cppstyle/string1/expected create mode 100644 autotests/input/indent/cppstyle/string1/input.js create mode 100644 autotests/input/indent/cppstyle/string1/origin create mode 100644 autotests/input/indent/cppstyle/string2/expected create mode 100644 autotests/input/indent/cppstyle/string2/input.js create mode 100644 autotests/input/indent/cppstyle/string2/origin create mode 100644 autotests/input/indent/cppstyle/string3/expected create mode 100644 autotests/input/indent/cppstyle/string3/input.js create mode 100644 autotests/input/indent/cppstyle/string3/origin create mode 100644 autotests/input/indent/cppstyle/string4/expected create mode 100644 autotests/input/indent/cppstyle/string4/input.js create mode 100644 autotests/input/indent/cppstyle/string4/origin create mode 100644 autotests/input/indent/cppstyle/string5/expected create mode 100644 autotests/input/indent/cppstyle/string5/input.js create mode 100644 autotests/input/indent/cppstyle/string5/origin create mode 100644 autotests/input/indent/cppstyle/string6/expected create mode 100644 autotests/input/indent/cppstyle/string6/input.js create mode 100644 autotests/input/indent/cppstyle/string6/origin create mode 100644 autotests/input/indent/cppstyle/ternary_op1/expected create mode 100644 autotests/input/indent/cppstyle/ternary_op1/input.js create mode 100644 autotests/input/indent/cppstyle/ternary_op1/origin create mode 100644 autotests/input/indent/cppstyle/ternary_op2/expected create mode 100644 autotests/input/indent/cppstyle/ternary_op2/input.js create mode 100644 autotests/input/indent/cppstyle/ternary_op2/origin create mode 100644 autotests/input/indent/cppstyle/ternary_op3/expected create mode 100644 autotests/input/indent/cppstyle/ternary_op3/input.js create mode 100644 autotests/input/indent/cppstyle/ternary_op3/origin create mode 100644 autotests/input/indent/cstyle/.kateconfig create mode 100644 autotests/input/indent/cstyle/137157/expected create mode 100644 autotests/input/indent/cstyle/137157/input.js create mode 100644 autotests/input/indent/cstyle/137157/origin create mode 100644 autotests/input/indent/cstyle/360456/expected create mode 100644 autotests/input/indent/cstyle/360456/input.js create mode 100644 autotests/input/indent/cstyle/360456/origin create mode 100644 autotests/input/indent/cstyle/alignbrace/expected create mode 100644 autotests/input/indent/cstyle/alignbrace/input.js create mode 100644 autotests/input/indent/cstyle/alignbrace/origin create mode 100644 autotests/input/indent/cstyle/aplist1/expected create mode 100644 autotests/input/indent/cstyle/aplist1/input.js create mode 100644 autotests/input/indent/cstyle/aplist1/origin create mode 100644 autotests/input/indent/cstyle/aplist10/expected create mode 100644 autotests/input/indent/cstyle/aplist10/input.js create mode 100644 autotests/input/indent/cstyle/aplist10/origin create mode 100644 autotests/input/indent/cstyle/aplist11/expected create mode 100644 autotests/input/indent/cstyle/aplist11/input.js create mode 100644 autotests/input/indent/cstyle/aplist11/origin create mode 100644 autotests/input/indent/cstyle/aplist12/expected create mode 100644 autotests/input/indent/cstyle/aplist12/input.js create mode 100644 autotests/input/indent/cstyle/aplist12/origin create mode 100644 autotests/input/indent/cstyle/aplist13/expected create mode 100644 autotests/input/indent/cstyle/aplist13/input.js create mode 100644 autotests/input/indent/cstyle/aplist13/origin create mode 100644 autotests/input/indent/cstyle/aplist14/expected create mode 100644 autotests/input/indent/cstyle/aplist14/input.js create mode 100644 autotests/input/indent/cstyle/aplist14/origin create mode 100644 autotests/input/indent/cstyle/aplist15/expected create mode 100644 autotests/input/indent/cstyle/aplist15/input.js create mode 100644 autotests/input/indent/cstyle/aplist15/origin create mode 100644 autotests/input/indent/cstyle/aplist16/expected create mode 100644 autotests/input/indent/cstyle/aplist16/input.js create mode 100644 autotests/input/indent/cstyle/aplist16/origin create mode 100644 autotests/input/indent/cstyle/aplist17/expected create mode 100644 autotests/input/indent/cstyle/aplist17/input.js create mode 100644 autotests/input/indent/cstyle/aplist17/origin create mode 100644 autotests/input/indent/cstyle/aplist18/expected create mode 100644 autotests/input/indent/cstyle/aplist18/input.js create mode 100644 autotests/input/indent/cstyle/aplist18/origin create mode 100644 autotests/input/indent/cstyle/aplist19/expected create mode 100644 autotests/input/indent/cstyle/aplist19/input.js create mode 100644 autotests/input/indent/cstyle/aplist19/origin create mode 100644 autotests/input/indent/cstyle/aplist2/expected create mode 100644 autotests/input/indent/cstyle/aplist2/input.js create mode 100644 autotests/input/indent/cstyle/aplist2/origin create mode 100644 autotests/input/indent/cstyle/aplist20/expected create mode 100644 autotests/input/indent/cstyle/aplist20/input.js create mode 100644 autotests/input/indent/cstyle/aplist20/origin create mode 100644 autotests/input/indent/cstyle/aplist3/expected create mode 100644 autotests/input/indent/cstyle/aplist3/input.js create mode 100644 autotests/input/indent/cstyle/aplist3/origin create mode 100644 autotests/input/indent/cstyle/aplist4/expected create mode 100644 autotests/input/indent/cstyle/aplist4/input.js create mode 100644 autotests/input/indent/cstyle/aplist4/origin create mode 100644 autotests/input/indent/cstyle/aplist5/expected create mode 100644 autotests/input/indent/cstyle/aplist5/input.js create mode 100644 autotests/input/indent/cstyle/aplist5/origin create mode 100644 autotests/input/indent/cstyle/aplist6/expected create mode 100644 autotests/input/indent/cstyle/aplist6/input.js create mode 100644 autotests/input/indent/cstyle/aplist6/origin create mode 100644 autotests/input/indent/cstyle/aplist8/expected create mode 100644 autotests/input/indent/cstyle/aplist8/input.js create mode 100644 autotests/input/indent/cstyle/aplist8/origin create mode 100644 autotests/input/indent/cstyle/aplist9/expected create mode 100644 autotests/input/indent/cstyle/aplist9/input.js create mode 100644 autotests/input/indent/cstyle/aplist9/origin create mode 100644 autotests/input/indent/cstyle/brace1/expected create mode 100644 autotests/input/indent/cstyle/brace1/input.js create mode 100644 autotests/input/indent/cstyle/brace1/origin create mode 100644 autotests/input/indent/cstyle/brace2/expected create mode 100644 autotests/input/indent/cstyle/brace2/input.js create mode 100644 autotests/input/indent/cstyle/brace2/origin create mode 100644 autotests/input/indent/cstyle/clospar1/expected create mode 100644 autotests/input/indent/cstyle/clospar1/input.js create mode 100644 autotests/input/indent/cstyle/clospar1/origin create mode 100644 autotests/input/indent/cstyle/clospar2/expected create mode 100644 autotests/input/indent/cstyle/clospar2/input.js create mode 100644 autotests/input/indent/cstyle/clospar2/origin create mode 100644 autotests/input/indent/cstyle/clospar3/expected create mode 100644 autotests/input/indent/cstyle/clospar3/input.js create mode 100644 autotests/input/indent/cstyle/clospar3/origin create mode 100644 autotests/input/indent/cstyle/clospar4/expected create mode 100644 autotests/input/indent/cstyle/clospar4/input.js create mode 100644 autotests/input/indent/cstyle/clospar4/origin create mode 100644 autotests/input/indent/cstyle/comma1/expected create mode 100644 autotests/input/indent/cstyle/comma1/input.js create mode 100644 autotests/input/indent/cstyle/comma1/origin create mode 100644 autotests/input/indent/cstyle/comma2/expected create mode 100644 autotests/input/indent/cstyle/comma2/input.js create mode 100644 autotests/input/indent/cstyle/comma2/origin create mode 100644 autotests/input/indent/cstyle/comma3/expected create mode 100644 autotests/input/indent/cstyle/comma3/input.js create mode 100644 autotests/input/indent/cstyle/comma3/origin create mode 100644 autotests/input/indent/cstyle/comma4/expected create mode 100644 autotests/input/indent/cstyle/comma4/input.js create mode 100644 autotests/input/indent/cstyle/comma4/origin create mode 100644 autotests/input/indent/cstyle/comma5/expected create mode 100644 autotests/input/indent/cstyle/comma5/input.js create mode 100644 autotests/input/indent/cstyle/comma5/origin create mode 100644 autotests/input/indent/cstyle/comma6/expected create mode 100644 autotests/input/indent/cstyle/comma6/input.js create mode 100644 autotests/input/indent/cstyle/comma6/origin create mode 100644 autotests/input/indent/cstyle/comment1/expected create mode 100644 autotests/input/indent/cstyle/comment1/input.js create mode 100644 autotests/input/indent/cstyle/comment1/origin create mode 100644 autotests/input/indent/cstyle/comment2/expected create mode 100644 autotests/input/indent/cstyle/comment2/input.js create mode 100644 autotests/input/indent/cstyle/comment2/origin create mode 100644 autotests/input/indent/cstyle/do1/expected create mode 100644 autotests/input/indent/cstyle/do1/input.js create mode 100644 autotests/input/indent/cstyle/do1/origin create mode 100644 autotests/input/indent/cstyle/do2/expected create mode 100644 autotests/input/indent/cstyle/do2/input.js create mode 100644 autotests/input/indent/cstyle/do2/origin create mode 100644 autotests/input/indent/cstyle/do3/expected create mode 100644 autotests/input/indent/cstyle/do3/input.js create mode 100644 autotests/input/indent/cstyle/do3/origin create mode 100644 autotests/input/indent/cstyle/doxygen1/expected create mode 100644 autotests/input/indent/cstyle/doxygen1/input.js create mode 100644 autotests/input/indent/cstyle/doxygen1/origin create mode 100644 autotests/input/indent/cstyle/doxygen10/expected create mode 100644 autotests/input/indent/cstyle/doxygen10/input.js create mode 100644 autotests/input/indent/cstyle/doxygen10/origin create mode 100644 autotests/input/indent/cstyle/doxygen2/expected create mode 100644 autotests/input/indent/cstyle/doxygen2/input.js create mode 100644 autotests/input/indent/cstyle/doxygen2/origin create mode 100644 autotests/input/indent/cstyle/doxygen3/expected create mode 100644 autotests/input/indent/cstyle/doxygen3/input.js create mode 100644 autotests/input/indent/cstyle/doxygen3/origin create mode 100644 autotests/input/indent/cstyle/doxygen4/expected create mode 100644 autotests/input/indent/cstyle/doxygen4/input.js create mode 100644 autotests/input/indent/cstyle/doxygen4/origin create mode 100644 autotests/input/indent/cstyle/doxygen5/expected create mode 100644 autotests/input/indent/cstyle/doxygen5/input.js create mode 100644 autotests/input/indent/cstyle/doxygen5/origin create mode 100644 autotests/input/indent/cstyle/doxygen6/expected create mode 100644 autotests/input/indent/cstyle/doxygen6/input.js create mode 100644 autotests/input/indent/cstyle/doxygen6/origin create mode 100644 autotests/input/indent/cstyle/doxygen7/expected create mode 100644 autotests/input/indent/cstyle/doxygen7/input.js create mode 100644 autotests/input/indent/cstyle/doxygen7/origin create mode 100644 autotests/input/indent/cstyle/doxygen8/expected create mode 100644 autotests/input/indent/cstyle/doxygen8/input.js create mode 100644 autotests/input/indent/cstyle/doxygen8/origin create mode 100644 autotests/input/indent/cstyle/doxygen9/expected create mode 100644 autotests/input/indent/cstyle/doxygen9/input.js create mode 100644 autotests/input/indent/cstyle/doxygen9/origin create mode 100644 autotests/input/indent/cstyle/for1/expected create mode 100644 autotests/input/indent/cstyle/for1/input.js create mode 100644 autotests/input/indent/cstyle/for1/origin create mode 100644 autotests/input/indent/cstyle/for2/expected create mode 100644 autotests/input/indent/cstyle/for2/input.js create mode 100644 autotests/input/indent/cstyle/for2/origin create mode 100644 autotests/input/indent/cstyle/for3/expected create mode 100644 autotests/input/indent/cstyle/for3/input.js create mode 100644 autotests/input/indent/cstyle/for3/origin create mode 100644 autotests/input/indent/cstyle/for4/expected create mode 100644 autotests/input/indent/cstyle/for4/input.js create mode 100644 autotests/input/indent/cstyle/for4/origin create mode 100644 autotests/input/indent/cstyle/for5/expected create mode 100644 autotests/input/indent/cstyle/for5/input.js create mode 100644 autotests/input/indent/cstyle/for5/origin create mode 100644 autotests/input/indent/cstyle/foreign1/expected create mode 100644 autotests/input/indent/cstyle/foreign1/input.js create mode 100644 autotests/input/indent/cstyle/foreign1/origin create mode 100644 autotests/input/indent/cstyle/foreign2/expected create mode 100644 autotests/input/indent/cstyle/foreign2/input.js create mode 100644 autotests/input/indent/cstyle/foreign2/origin create mode 100644 autotests/input/indent/cstyle/foreign3/expected create mode 100644 autotests/input/indent/cstyle/foreign3/input.js create mode 100644 autotests/input/indent/cstyle/foreign3/origin create mode 100644 autotests/input/indent/cstyle/if1/expected create mode 100644 autotests/input/indent/cstyle/if1/input.js create mode 100644 autotests/input/indent/cstyle/if1/origin create mode 100644 autotests/input/indent/cstyle/if10/expected create mode 100644 autotests/input/indent/cstyle/if10/input.js create mode 100644 autotests/input/indent/cstyle/if10/origin create mode 100644 autotests/input/indent/cstyle/if11/expected create mode 100644 autotests/input/indent/cstyle/if11/input.js create mode 100644 autotests/input/indent/cstyle/if11/origin create mode 100644 autotests/input/indent/cstyle/if2/expected create mode 100644 autotests/input/indent/cstyle/if2/input.js create mode 100644 autotests/input/indent/cstyle/if2/origin create mode 100644 autotests/input/indent/cstyle/if3/expected create mode 100644 autotests/input/indent/cstyle/if3/input.js create mode 100644 autotests/input/indent/cstyle/if3/origin create mode 100644 autotests/input/indent/cstyle/if4/expected create mode 100644 autotests/input/indent/cstyle/if4/input.js create mode 100644 autotests/input/indent/cstyle/if4/origin create mode 100644 autotests/input/indent/cstyle/if5/expected create mode 100644 autotests/input/indent/cstyle/if5/input.js create mode 100644 autotests/input/indent/cstyle/if5/origin create mode 100644 autotests/input/indent/cstyle/if6/expected create mode 100644 autotests/input/indent/cstyle/if6/input.js create mode 100644 autotests/input/indent/cstyle/if6/origin create mode 100644 autotests/input/indent/cstyle/if7/expected create mode 100644 autotests/input/indent/cstyle/if7/input.js create mode 100644 autotests/input/indent/cstyle/if7/origin create mode 100644 autotests/input/indent/cstyle/if8/expected create mode 100644 autotests/input/indent/cstyle/if8/input.js create mode 100644 autotests/input/indent/cstyle/if8/origin create mode 100644 autotests/input/indent/cstyle/if9/expected create mode 100644 autotests/input/indent/cstyle/if9/input.js create mode 100644 autotests/input/indent/cstyle/if9/origin create mode 100644 autotests/input/indent/cstyle/normal1/expected create mode 100644 autotests/input/indent/cstyle/normal1/input.js create mode 100644 autotests/input/indent/cstyle/normal1/origin create mode 100644 autotests/input/indent/cstyle/normal2/expected create mode 100644 autotests/input/indent/cstyle/normal2/input.js create mode 100644 autotests/input/indent/cstyle/normal2/origin create mode 100644 autotests/input/indent/cstyle/normal3/expected create mode 100644 autotests/input/indent/cstyle/normal3/input.js create mode 100644 autotests/input/indent/cstyle/normal3/origin create mode 100644 autotests/input/indent/cstyle/openpar1/expected create mode 100644 autotests/input/indent/cstyle/openpar1/input.js create mode 100644 autotests/input/indent/cstyle/openpar1/origin create mode 100644 autotests/input/indent/cstyle/openpar10/expected create mode 100644 autotests/input/indent/cstyle/openpar10/input.js create mode 100644 autotests/input/indent/cstyle/openpar10/origin create mode 100644 autotests/input/indent/cstyle/openpar11/expected create mode 100644 autotests/input/indent/cstyle/openpar11/input.js create mode 100644 autotests/input/indent/cstyle/openpar11/origin create mode 100644 autotests/input/indent/cstyle/openpar12/expected create mode 100644 autotests/input/indent/cstyle/openpar12/input.js create mode 100644 autotests/input/indent/cstyle/openpar12/origin create mode 100644 autotests/input/indent/cstyle/openpar2/expected create mode 100644 autotests/input/indent/cstyle/openpar2/input.js create mode 100644 autotests/input/indent/cstyle/openpar2/origin create mode 100644 autotests/input/indent/cstyle/openpar3/expected create mode 100644 autotests/input/indent/cstyle/openpar3/input.js create mode 100644 autotests/input/indent/cstyle/openpar3/origin create mode 100644 autotests/input/indent/cstyle/openpar4/expected create mode 100644 autotests/input/indent/cstyle/openpar4/input.js create mode 100644 autotests/input/indent/cstyle/openpar4/origin create mode 100644 autotests/input/indent/cstyle/openpar5/expected create mode 100644 autotests/input/indent/cstyle/openpar5/input.js create mode 100644 autotests/input/indent/cstyle/openpar5/origin create mode 100644 autotests/input/indent/cstyle/openpar6/expected create mode 100644 autotests/input/indent/cstyle/openpar6/input.js create mode 100644 autotests/input/indent/cstyle/openpar6/origin create mode 100644 autotests/input/indent/cstyle/openpar7/expected create mode 100644 autotests/input/indent/cstyle/openpar7/input.js create mode 100644 autotests/input/indent/cstyle/openpar7/origin create mode 100644 autotests/input/indent/cstyle/openpar8/expected create mode 100644 autotests/input/indent/cstyle/openpar8/input.js create mode 100644 autotests/input/indent/cstyle/openpar8/origin create mode 100644 autotests/input/indent/cstyle/openpar9/expected create mode 100644 autotests/input/indent/cstyle/openpar9/input.js create mode 100644 autotests/input/indent/cstyle/openpar9/origin create mode 100644 autotests/input/indent/cstyle/plist1/expected create mode 100644 autotests/input/indent/cstyle/plist1/input.js create mode 100644 autotests/input/indent/cstyle/plist1/origin create mode 100644 autotests/input/indent/cstyle/plist10/expected create mode 100644 autotests/input/indent/cstyle/plist10/input.js create mode 100644 autotests/input/indent/cstyle/plist10/origin create mode 100644 autotests/input/indent/cstyle/plist11/expected create mode 100644 autotests/input/indent/cstyle/plist11/input.js create mode 100644 autotests/input/indent/cstyle/plist11/origin create mode 100644 autotests/input/indent/cstyle/plist12/expected create mode 100644 autotests/input/indent/cstyle/plist12/input.js create mode 100644 autotests/input/indent/cstyle/plist12/origin create mode 100644 autotests/input/indent/cstyle/plist13/expected create mode 100644 autotests/input/indent/cstyle/plist13/input.js create mode 100644 autotests/input/indent/cstyle/plist13/origin create mode 100644 autotests/input/indent/cstyle/plist14/expected create mode 100644 autotests/input/indent/cstyle/plist14/input.js create mode 100644 autotests/input/indent/cstyle/plist14/origin create mode 100644 autotests/input/indent/cstyle/plist15/expected create mode 100644 autotests/input/indent/cstyle/plist15/input.js create mode 100644 autotests/input/indent/cstyle/plist15/origin create mode 100644 autotests/input/indent/cstyle/plist16/expected create mode 100644 autotests/input/indent/cstyle/plist16/input.js create mode 100644 autotests/input/indent/cstyle/plist16/origin create mode 100644 autotests/input/indent/cstyle/plist17/expected create mode 100644 autotests/input/indent/cstyle/plist17/input.js create mode 100644 autotests/input/indent/cstyle/plist17/origin create mode 100644 autotests/input/indent/cstyle/plist18/expected create mode 100644 autotests/input/indent/cstyle/plist18/input.js create mode 100644 autotests/input/indent/cstyle/plist18/origin create mode 100644 autotests/input/indent/cstyle/plist19/expected create mode 100644 autotests/input/indent/cstyle/plist19/input.js create mode 100644 autotests/input/indent/cstyle/plist19/origin create mode 100644 autotests/input/indent/cstyle/plist2/expected create mode 100644 autotests/input/indent/cstyle/plist2/input.js create mode 100644 autotests/input/indent/cstyle/plist2/origin create mode 100644 autotests/input/indent/cstyle/plist20/expected create mode 100644 autotests/input/indent/cstyle/plist20/input.js create mode 100644 autotests/input/indent/cstyle/plist20/origin create mode 100644 autotests/input/indent/cstyle/plist21/expected create mode 100644 autotests/input/indent/cstyle/plist21/input.js create mode 100644 autotests/input/indent/cstyle/plist21/origin create mode 100644 autotests/input/indent/cstyle/plist22/expected create mode 100644 autotests/input/indent/cstyle/plist22/input.js create mode 100644 autotests/input/indent/cstyle/plist22/origin create mode 100644 autotests/input/indent/cstyle/plist24/expected create mode 100644 autotests/input/indent/cstyle/plist24/input.js create mode 100644 autotests/input/indent/cstyle/plist24/origin create mode 100644 autotests/input/indent/cstyle/plist25/expected create mode 100644 autotests/input/indent/cstyle/plist25/input.js create mode 100644 autotests/input/indent/cstyle/plist25/origin create mode 100644 autotests/input/indent/cstyle/plist3/expected create mode 100644 autotests/input/indent/cstyle/plist3/input.js create mode 100644 autotests/input/indent/cstyle/plist3/origin create mode 100644 autotests/input/indent/cstyle/plist4/expected create mode 100644 autotests/input/indent/cstyle/plist4/input.js create mode 100644 autotests/input/indent/cstyle/plist4/origin create mode 100644 autotests/input/indent/cstyle/plist5/expected create mode 100644 autotests/input/indent/cstyle/plist5/input.js create mode 100644 autotests/input/indent/cstyle/plist5/origin create mode 100644 autotests/input/indent/cstyle/plist6/expected create mode 100644 autotests/input/indent/cstyle/plist6/input.js create mode 100644 autotests/input/indent/cstyle/plist6/origin create mode 100644 autotests/input/indent/cstyle/plist7/expected create mode 100644 autotests/input/indent/cstyle/plist7/input.js create mode 100644 autotests/input/indent/cstyle/plist7/origin create mode 100644 autotests/input/indent/cstyle/plist8/expected create mode 100644 autotests/input/indent/cstyle/plist8/input.js create mode 100644 autotests/input/indent/cstyle/plist8/origin create mode 100644 autotests/input/indent/cstyle/plist9/expected create mode 100644 autotests/input/indent/cstyle/plist9/input.js create mode 100644 autotests/input/indent/cstyle/plist9/origin create mode 100644 autotests/input/indent/cstyle/prep1/expected create mode 100644 autotests/input/indent/cstyle/prep1/input.js create mode 100644 autotests/input/indent/cstyle/prep1/origin create mode 100644 autotests/input/indent/cstyle/prep2/expected create mode 100644 autotests/input/indent/cstyle/prep2/input.js create mode 100644 autotests/input/indent/cstyle/prep2/origin create mode 100644 autotests/input/indent/cstyle/prep3/expected create mode 100644 autotests/input/indent/cstyle/prep3/input.js create mode 100644 autotests/input/indent/cstyle/prep3/origin create mode 100644 autotests/input/indent/cstyle/prep4/expected create mode 100644 autotests/input/indent/cstyle/prep4/input.js create mode 100644 autotests/input/indent/cstyle/prep4/origin create mode 100644 autotests/input/indent/cstyle/prep5/expected create mode 100644 autotests/input/indent/cstyle/prep5/input.js create mode 100644 autotests/input/indent/cstyle/prep5/origin create mode 100644 autotests/input/indent/cstyle/prep6/expected create mode 100644 autotests/input/indent/cstyle/prep6/input.js create mode 100644 autotests/input/indent/cstyle/prep6/origin create mode 100644 autotests/input/indent/cstyle/switch1/expected create mode 100644 autotests/input/indent/cstyle/switch1/input.js create mode 100644 autotests/input/indent/cstyle/switch1/origin create mode 100644 autotests/input/indent/cstyle/switch10/expected create mode 100644 autotests/input/indent/cstyle/switch10/input.js create mode 100644 autotests/input/indent/cstyle/switch10/origin create mode 100644 autotests/input/indent/cstyle/switch11/expected create mode 100644 autotests/input/indent/cstyle/switch11/input.js create mode 100644 autotests/input/indent/cstyle/switch11/origin create mode 100644 autotests/input/indent/cstyle/switch12/expected create mode 100644 autotests/input/indent/cstyle/switch12/input.js create mode 100644 autotests/input/indent/cstyle/switch12/origin create mode 100644 autotests/input/indent/cstyle/switch13/expected create mode 100644 autotests/input/indent/cstyle/switch13/input.js create mode 100644 autotests/input/indent/cstyle/switch13/origin create mode 100644 autotests/input/indent/cstyle/switch14/expected create mode 100644 autotests/input/indent/cstyle/switch14/input.js create mode 100644 autotests/input/indent/cstyle/switch14/origin create mode 100644 autotests/input/indent/cstyle/switch2/expected create mode 100644 autotests/input/indent/cstyle/switch2/input.js create mode 100644 autotests/input/indent/cstyle/switch2/origin create mode 100644 autotests/input/indent/cstyle/switch3/expected create mode 100644 autotests/input/indent/cstyle/switch3/input.js create mode 100644 autotests/input/indent/cstyle/switch3/origin create mode 100644 autotests/input/indent/cstyle/switch4/expected create mode 100644 autotests/input/indent/cstyle/switch4/input.js create mode 100644 autotests/input/indent/cstyle/switch4/origin create mode 100644 autotests/input/indent/cstyle/switch5/expected create mode 100644 autotests/input/indent/cstyle/switch5/input.js create mode 100644 autotests/input/indent/cstyle/switch5/origin create mode 100644 autotests/input/indent/cstyle/switch6/expected create mode 100644 autotests/input/indent/cstyle/switch6/input.js create mode 100644 autotests/input/indent/cstyle/switch6/origin create mode 100644 autotests/input/indent/cstyle/switch7/expected create mode 100644 autotests/input/indent/cstyle/switch7/input.js create mode 100644 autotests/input/indent/cstyle/switch7/origin create mode 100644 autotests/input/indent/cstyle/switch8/expected create mode 100644 autotests/input/indent/cstyle/switch8/input.js create mode 100644 autotests/input/indent/cstyle/switch8/origin create mode 100644 autotests/input/indent/cstyle/switch9/expected create mode 100644 autotests/input/indent/cstyle/switch9/input.js create mode 100644 autotests/input/indent/cstyle/switch9/origin create mode 100644 autotests/input/indent/cstyle/top1/expected create mode 100644 autotests/input/indent/cstyle/top1/input.js create mode 100644 autotests/input/indent/cstyle/top1/origin create mode 100644 autotests/input/indent/cstyle/top10/expected create mode 100644 autotests/input/indent/cstyle/top10/input.js create mode 100644 autotests/input/indent/cstyle/top10/origin create mode 100644 autotests/input/indent/cstyle/top11/expected create mode 100644 autotests/input/indent/cstyle/top11/input.js create mode 100644 autotests/input/indent/cstyle/top11/origin create mode 100644 autotests/input/indent/cstyle/top12/expected create mode 100644 autotests/input/indent/cstyle/top12/input.js create mode 100644 autotests/input/indent/cstyle/top12/origin create mode 100644 autotests/input/indent/cstyle/top13/expected create mode 100644 autotests/input/indent/cstyle/top13/input.js create mode 100644 autotests/input/indent/cstyle/top13/origin create mode 100644 autotests/input/indent/cstyle/top14/expected create mode 100644 autotests/input/indent/cstyle/top14/input.js create mode 100644 autotests/input/indent/cstyle/top14/origin create mode 100644 autotests/input/indent/cstyle/top15/expected create mode 100644 autotests/input/indent/cstyle/top15/input.js create mode 100644 autotests/input/indent/cstyle/top15/origin create mode 100644 autotests/input/indent/cstyle/top16/expected create mode 100644 autotests/input/indent/cstyle/top16/input.js create mode 100644 autotests/input/indent/cstyle/top16/origin create mode 100644 autotests/input/indent/cstyle/top17/expected create mode 100644 autotests/input/indent/cstyle/top17/input.js create mode 100644 autotests/input/indent/cstyle/top17/origin create mode 100644 autotests/input/indent/cstyle/top18/expected create mode 100644 autotests/input/indent/cstyle/top18/input.js create mode 100644 autotests/input/indent/cstyle/top18/origin create mode 100644 autotests/input/indent/cstyle/top19/expected create mode 100644 autotests/input/indent/cstyle/top19/input.js create mode 100644 autotests/input/indent/cstyle/top19/origin create mode 100644 autotests/input/indent/cstyle/top2/expected create mode 100644 autotests/input/indent/cstyle/top2/input.js create mode 100644 autotests/input/indent/cstyle/top2/origin create mode 100644 autotests/input/indent/cstyle/top3/expected create mode 100644 autotests/input/indent/cstyle/top3/input.js create mode 100644 autotests/input/indent/cstyle/top3/origin create mode 100644 autotests/input/indent/cstyle/top4/expected create mode 100644 autotests/input/indent/cstyle/top4/input.js create mode 100644 autotests/input/indent/cstyle/top4/origin create mode 100644 autotests/input/indent/cstyle/top5/expected create mode 100644 autotests/input/indent/cstyle/top5/input.js create mode 100644 autotests/input/indent/cstyle/top5/origin create mode 100644 autotests/input/indent/cstyle/top6/expected create mode 100644 autotests/input/indent/cstyle/top6/input.js create mode 100644 autotests/input/indent/cstyle/top6/origin create mode 100644 autotests/input/indent/cstyle/top7/expected create mode 100644 autotests/input/indent/cstyle/top7/input.js create mode 100644 autotests/input/indent/cstyle/top7/origin create mode 100644 autotests/input/indent/cstyle/top8/expected create mode 100644 autotests/input/indent/cstyle/top8/input.js create mode 100644 autotests/input/indent/cstyle/top8/origin create mode 100644 autotests/input/indent/cstyle/top9/expected create mode 100644 autotests/input/indent/cstyle/top9/input.js create mode 100644 autotests/input/indent/cstyle/top9/origin create mode 100644 autotests/input/indent/cstyle/triggerchars/expected create mode 100644 autotests/input/indent/cstyle/triggerchars/input.js create mode 100644 autotests/input/indent/cstyle/triggerchars/origin create mode 100644 autotests/input/indent/cstyle/usestrict/expected create mode 100644 autotests/input/indent/cstyle/usestrict/input.js create mode 100644 autotests/input/indent/cstyle/usestrict/origin create mode 100644 autotests/input/indent/cstyle/using1/expected create mode 100644 autotests/input/indent/cstyle/using1/input.js create mode 100644 autotests/input/indent/cstyle/using1/origin create mode 100644 autotests/input/indent/cstyle/using2/expected create mode 100644 autotests/input/indent/cstyle/using2/input.js create mode 100644 autotests/input/indent/cstyle/using2/origin create mode 100644 autotests/input/indent/cstyle/using3/expected create mode 100644 autotests/input/indent/cstyle/using3/input.js create mode 100644 autotests/input/indent/cstyle/using3/origin create mode 100644 autotests/input/indent/cstyle/visib1/expected create mode 100644 autotests/input/indent/cstyle/visib1/input.js create mode 100644 autotests/input/indent/cstyle/visib1/origin create mode 100644 autotests/input/indent/cstyle/visib2/expected create mode 100644 autotests/input/indent/cstyle/visib2/input.js create mode 100644 autotests/input/indent/cstyle/visib2/origin create mode 100644 autotests/input/indent/cstyle/visib3/expected create mode 100644 autotests/input/indent/cstyle/visib3/input.js create mode 100644 autotests/input/indent/cstyle/visib3/origin create mode 100644 autotests/input/indent/cstyle/visib4/expected create mode 100644 autotests/input/indent/cstyle/visib4/input.js create mode 100644 autotests/input/indent/cstyle/visib4/origin create mode 100644 autotests/input/indent/cstyle/visib5/expected create mode 100644 autotests/input/indent/cstyle/visib5/input.js create mode 100644 autotests/input/indent/cstyle/visib5/origin create mode 100644 autotests/input/indent/cstyle/visib6/expected create mode 100644 autotests/input/indent/cstyle/visib6/input.js create mode 100644 autotests/input/indent/cstyle/visib6/origin create mode 100644 autotests/input/indent/cstyle/visib7/expected create mode 100644 autotests/input/indent/cstyle/visib7/input.js create mode 100644 autotests/input/indent/cstyle/visib7/origin create mode 100644 autotests/input/indent/cstyle/visib8/expected create mode 100644 autotests/input/indent/cstyle/visib8/input.js create mode 100644 autotests/input/indent/cstyle/visib8/origin create mode 100644 autotests/input/indent/cstyle/while1/expected create mode 100644 autotests/input/indent/cstyle/while1/input.js create mode 100644 autotests/input/indent/cstyle/while1/origin create mode 100644 autotests/input/indent/cstyle/while2/expected create mode 100644 autotests/input/indent/cstyle/while2/input.js create mode 100644 autotests/input/indent/cstyle/while2/origin create mode 100644 autotests/input/indent/cstyle/while3/expected create mode 100644 autotests/input/indent/cstyle/while3/input.js create mode 100644 autotests/input/indent/cstyle/while3/origin create mode 100644 autotests/input/indent/haskell/.kateconfig create mode 100644 autotests/input/indent/haskell/afterComma1/expected create mode 100644 autotests/input/indent/haskell/afterComma1/input.js create mode 100644 autotests/input/indent/haskell/afterComma1/origin create mode 100644 autotests/input/indent/haskell/dontIndent1/expected create mode 100644 autotests/input/indent/haskell/dontIndent1/input.js create mode 100644 autotests/input/indent/haskell/dontIndent1/origin create mode 100644 autotests/input/indent/haskell/if1/expected create mode 100644 autotests/input/indent/haskell/if1/input.js create mode 100644 autotests/input/indent/haskell/if1/origin create mode 100644 autotests/input/indent/haskell/if2/expected create mode 100644 autotests/input/indent/haskell/if2/input.js create mode 100644 autotests/input/indent/haskell/if2/origin create mode 100644 autotests/input/indent/haskell/parsec1/expected create mode 100644 autotests/input/indent/haskell/parsec1/input.js create mode 100644 autotests/input/indent/haskell/parsec1/origin create mode 100644 autotests/input/indent/latex/.kateconfig create mode 100644 autotests/input/indent/latex/env1/expected create mode 100644 autotests/input/indent/latex/env1/input.js create mode 100644 autotests/input/indent/latex/env1/origin create mode 100644 autotests/input/indent/latex/env2/expected create mode 100644 autotests/input/indent/latex/env2/input.js create mode 100644 autotests/input/indent/latex/env2/origin create mode 100644 autotests/input/indent/latex/env3/expected create mode 100644 autotests/input/indent/latex/env3/input.js create mode 100644 autotests/input/indent/latex/env3/origin create mode 100644 autotests/input/indent/normal/.kateconfig create mode 100644 autotests/input/indent/normal/cascade1/expected create mode 100644 autotests/input/indent/normal/cascade1/input.js create mode 100644 autotests/input/indent/normal/cascade1/origin create mode 100644 autotests/input/indent/normal/emptyline1/expected create mode 100644 autotests/input/indent/normal/emptyline1/input.js create mode 100644 autotests/input/indent/normal/emptyline1/origin create mode 100644 autotests/input/indent/normal/emptyline2/expected create mode 100644 autotests/input/indent/normal/emptyline2/input.js create mode 100644 autotests/input/indent/normal/emptyline2/origin create mode 100644 autotests/input/indent/normal/emptyline3/expected create mode 100644 autotests/input/indent/normal/emptyline3/input.js create mode 100644 autotests/input/indent/normal/emptyline3/origin create mode 100644 autotests/input/indent/normal/midbreak1/expected create mode 100644 autotests/input/indent/normal/midbreak1/input.js create mode 100644 autotests/input/indent/normal/midbreak1/origin create mode 100644 autotests/input/indent/normal/midbreak2/expected create mode 100644 autotests/input/indent/normal/midbreak2/input.js create mode 100644 autotests/input/indent/normal/midbreak2/origin create mode 100644 autotests/input/indent/normal/normal1/expected create mode 100644 autotests/input/indent/normal/normal1/input.js create mode 100644 autotests/input/indent/normal/normal1/origin create mode 100644 autotests/input/indent/normal/normal2/expected create mode 100644 autotests/input/indent/normal/normal2/input.js create mode 100644 autotests/input/indent/normal/normal2/origin create mode 100644 autotests/input/indent/normal/normal3/expected create mode 100644 autotests/input/indent/normal/normal3/input.js create mode 100644 autotests/input/indent/normal/normal3/origin create mode 100644 autotests/input/indent/pascal/.kateconfig create mode 100644 autotests/input/indent/pascal/case1/expected create mode 100644 autotests/input/indent/pascal/case1/input.js create mode 100644 autotests/input/indent/pascal/case1/origin create mode 100644 autotests/input/indent/pascal/case2/expected create mode 100644 autotests/input/indent/pascal/case2/input.js create mode 100644 autotests/input/indent/pascal/case2/origin create mode 100644 autotests/input/indent/pascal/case3/expected create mode 100644 autotests/input/indent/pascal/case3/input.js create mode 100644 autotests/input/indent/pascal/case3/origin create mode 100644 autotests/input/indent/pascal/case4/expected create mode 100644 autotests/input/indent/pascal/case4/input.js create mode 100644 autotests/input/indent/pascal/case4/origin create mode 100644 autotests/input/indent/pascal/case5/expected create mode 100644 autotests/input/indent/pascal/case5/input.js create mode 100644 autotests/input/indent/pascal/case5/origin create mode 100644 autotests/input/indent/pascal/case6/expected create mode 100644 autotests/input/indent/pascal/case6/input.js create mode 100644 autotests/input/indent/pascal/case6/origin create mode 100644 autotests/input/indent/pascal/closepar1/expected create mode 100644 autotests/input/indent/pascal/closepar1/input.js create mode 100644 autotests/input/indent/pascal/closepar1/origin create mode 100644 autotests/input/indent/pascal/closepar2/expected create mode 100644 autotests/input/indent/pascal/closepar2/input.js create mode 100644 autotests/input/indent/pascal/closepar2/origin create mode 100644 autotests/input/indent/pascal/comment1/expected create mode 100644 autotests/input/indent/pascal/comment1/input.js create mode 100644 autotests/input/indent/pascal/comment1/origin create mode 100644 autotests/input/indent/pascal/comment2/expected create mode 100644 autotests/input/indent/pascal/comment2/input.js create mode 100644 autotests/input/indent/pascal/comment2/origin create mode 100644 autotests/input/indent/pascal/comment3/expected create mode 100644 autotests/input/indent/pascal/comment3/input.js create mode 100644 autotests/input/indent/pascal/comment3/origin create mode 100644 autotests/input/indent/pascal/if1/expected create mode 100644 autotests/input/indent/pascal/if1/input.js create mode 100644 autotests/input/indent/pascal/if1/origin create mode 100644 autotests/input/indent/pascal/label1/expected create mode 100644 autotests/input/indent/pascal/label1/input.js create mode 100644 autotests/input/indent/pascal/label1/origin create mode 100644 autotests/input/indent/pascal/longtest1/expected create mode 100644 autotests/input/indent/pascal/longtest1/input.js create mode 100644 autotests/input/indent/pascal/longtest1/origin create mode 100644 autotests/input/indent/pascal/longtest2/expected create mode 100644 autotests/input/indent/pascal/longtest2/input.js create mode 100644 autotests/input/indent/pascal/longtest2/origin create mode 100644 autotests/input/indent/pascal/longtest3/expected create mode 100644 autotests/input/indent/pascal/longtest3/input.js create mode 100644 autotests/input/indent/pascal/longtest3/origin create mode 100644 autotests/input/indent/pascal/longtest4/expected create mode 100644 autotests/input/indent/pascal/longtest4/input.js create mode 100644 autotests/input/indent/pascal/longtest4/origin create mode 100644 autotests/input/indent/pascal/openpar1/expected create mode 100644 autotests/input/indent/pascal/openpar1/input.js create mode 100644 autotests/input/indent/pascal/openpar1/origin create mode 100644 autotests/input/indent/pascal/openpar2/expected create mode 100644 autotests/input/indent/pascal/openpar2/input.js create mode 100644 autotests/input/indent/pascal/openpar2/origin create mode 100644 autotests/input/indent/pascal/prep1/expected create mode 100644 autotests/input/indent/pascal/prep1/input.js create mode 100644 autotests/input/indent/pascal/prep1/origin create mode 100644 autotests/input/indent/pascal/trig1/expected create mode 100644 autotests/input/indent/pascal/trig1/input.js create mode 100644 autotests/input/indent/pascal/trig1/origin create mode 100644 autotests/input/indent/python/.kateconfig create mode 100644 autotests/input/indent/python/dedentBreak/expected create mode 100644 autotests/input/indent/python/dedentBreak/input.js create mode 100644 autotests/input/indent/python/dedentBreak/origin create mode 100644 autotests/input/indent/python/dedentComment/expected create mode 100644 autotests/input/indent/python/dedentComment/input.js create mode 100644 autotests/input/indent/python/dedentComment/origin create mode 100644 autotests/input/indent/python/dedentContinue/expected create mode 100644 autotests/input/indent/python/dedentContinue/input.js create mode 100644 autotests/input/indent/python/dedentContinue/origin create mode 100644 autotests/input/indent/python/dedentPass/expected create mode 100644 autotests/input/indent/python/dedentPass/input.js create mode 100644 autotests/input/indent/python/dedentPass/origin create mode 100644 autotests/input/indent/python/dedentRaise/expected create mode 100644 autotests/input/indent/python/dedentRaise/input.js create mode 100644 autotests/input/indent/python/dedentRaise/origin create mode 100644 autotests/input/indent/python/dedentReturn/expected create mode 100644 autotests/input/indent/python/dedentReturn/input.js create mode 100644 autotests/input/indent/python/dedentReturn/origin create mode 100644 autotests/input/indent/python/dedentReturn2/expected create mode 100644 autotests/input/indent/python/dedentReturn2/input.js create mode 100644 autotests/input/indent/python/dedentReturn2/origin create mode 100644 autotests/input/indent/python/dedentReturn3/expected create mode 100644 autotests/input/indent/python/dedentReturn3/input.js create mode 100644 autotests/input/indent/python/dedentReturn3/origin create mode 100644 autotests/input/indent/python/dict1/expected create mode 100644 autotests/input/indent/python/dict1/input.js create mode 100644 autotests/input/indent/python/dict1/origin create mode 100644 autotests/input/indent/python/dict2/expected create mode 100644 autotests/input/indent/python/dict2/input.js create mode 100644 autotests/input/indent/python/dict2/origin create mode 100644 autotests/input/indent/python/function_args/expected create mode 100644 autotests/input/indent/python/function_args/input.js create mode 100644 autotests/input/indent/python/function_args/origin create mode 100644 autotests/input/indent/python/indentColon/expected create mode 100644 autotests/input/indent/python/indentColon/input.js create mode 100644 autotests/input/indent/python/indentColon/origin create mode 100644 autotests/input/indent/python/indentComment/expected create mode 100644 autotests/input/indent/python/indentComment/input.js create mode 100644 autotests/input/indent/python/indentComment/origin create mode 100644 autotests/input/indent/python/keepIndent1/expected create mode 100644 autotests/input/indent/python/keepIndent1/input.js create mode 100644 autotests/input/indent/python/keepIndent1/origin create mode 100644 autotests/input/indent/python/keepIndent2/expected create mode 100644 autotests/input/indent/python/keepIndent2/input.js create mode 100644 autotests/input/indent/python/keepIndent2/origin create mode 100644 autotests/input/indent/python/keepIndent3/expected create mode 100644 autotests/input/indent/python/keepIndent3/input.js create mode 100644 autotests/input/indent/python/keepIndent3/origin create mode 100644 autotests/input/indent/python/keepIndent4/expected create mode 100644 autotests/input/indent/python/keepIndent4/input.js create mode 100644 autotests/input/indent/python/keepIndent4/origin create mode 100644 autotests/input/indent/python/list1/expected create mode 100644 autotests/input/indent/python/list1/input.js create mode 100644 autotests/input/indent/python/list1/origin create mode 100644 autotests/input/indent/python/list2/expected create mode 100644 autotests/input/indent/python/list2/input.js create mode 100644 autotests/input/indent/python/list2/origin create mode 100644 autotests/input/indent/python/triggerchars/expected create mode 100644 autotests/input/indent/python/triggerchars/input.js create mode 100644 autotests/input/indent/python/triggerchars/origin create mode 100644 autotests/input/indent/python/tuple1/expected create mode 100644 autotests/input/indent/python/tuple1/input.js create mode 100644 autotests/input/indent/python/tuple1/origin create mode 100644 autotests/input/indent/python/tuple2/expected create mode 100644 autotests/input/indent/python/tuple2/input.js create mode 100644 autotests/input/indent/python/tuple2/origin create mode 100644 autotests/input/indent/python/wrapped_line/expected create mode 100644 autotests/input/indent/python/wrapped_line/input.js create mode 100644 autotests/input/indent/python/wrapped_line/origin create mode 100644 autotests/input/indent/replicode/.kateconfig create mode 100644 autotests/input/indent/replicode/return/expected create mode 100644 autotests/input/indent/replicode/return/input.js create mode 100644 autotests/input/indent/replicode/return/origin create mode 100644 autotests/input/indent/ruby/.kateconfig create mode 100644 autotests/input/indent/ruby/array-comment1/expected create mode 100644 autotests/input/indent/ruby/array-comment1/input.js create mode 100644 autotests/input/indent/ruby/array-comment1/origin create mode 100644 autotests/input/indent/ruby/array-comment2/expected create mode 100644 autotests/input/indent/ruby/array-comment2/input.js create mode 100644 autotests/input/indent/ruby/array-comment2/origin create mode 100644 autotests/input/indent/ruby/array-comment3/expected create mode 100644 autotests/input/indent/ruby/array-comment3/input.js create mode 100644 autotests/input/indent/ruby/array-comment3/origin create mode 100644 autotests/input/indent/ruby/array-comment4/expected create mode 100644 autotests/input/indent/ruby/array-comment4/input.js create mode 100644 autotests/input/indent/ruby/array-comment4/origin create mode 100644 autotests/input/indent/ruby/array-comment5/expected create mode 100644 autotests/input/indent/ruby/array-comment5/input.js create mode 100644 autotests/input/indent/ruby/array-comment5/origin create mode 100644 autotests/input/indent/ruby/array1/expected create mode 100644 autotests/input/indent/ruby/array1/input.js create mode 100644 autotests/input/indent/ruby/array1/origin create mode 100644 autotests/input/indent/ruby/array10/expected create mode 100644 autotests/input/indent/ruby/array10/input.js create mode 100644 autotests/input/indent/ruby/array10/origin create mode 100644 autotests/input/indent/ruby/array11/expected create mode 100644 autotests/input/indent/ruby/array11/input.js create mode 100644 autotests/input/indent/ruby/array11/origin create mode 100644 autotests/input/indent/ruby/array12/expected create mode 100644 autotests/input/indent/ruby/array12/input.js create mode 100644 autotests/input/indent/ruby/array12/origin create mode 100644 autotests/input/indent/ruby/array16/expected create mode 100644 autotests/input/indent/ruby/array16/input.js create mode 100644 autotests/input/indent/ruby/array16/origin create mode 100644 autotests/input/indent/ruby/array17/expected create mode 100644 autotests/input/indent/ruby/array17/input.js create mode 100644 autotests/input/indent/ruby/array17/origin create mode 100644 autotests/input/indent/ruby/array18/expected create mode 100644 autotests/input/indent/ruby/array18/input.js create mode 100644 autotests/input/indent/ruby/array18/origin create mode 100644 autotests/input/indent/ruby/array19/expected create mode 100644 autotests/input/indent/ruby/array19/input.js create mode 100644 autotests/input/indent/ruby/array19/origin create mode 100644 autotests/input/indent/ruby/array2/expected create mode 100644 autotests/input/indent/ruby/array2/input.js create mode 100644 autotests/input/indent/ruby/array2/origin create mode 100644 autotests/input/indent/ruby/array20/expected create mode 100644 autotests/input/indent/ruby/array20/input.js create mode 100644 autotests/input/indent/ruby/array20/origin create mode 100644 autotests/input/indent/ruby/array21/expected create mode 100644 autotests/input/indent/ruby/array21/input.js create mode 100644 autotests/input/indent/ruby/array21/origin create mode 100644 autotests/input/indent/ruby/array22/expected create mode 100644 autotests/input/indent/ruby/array22/input.js create mode 100644 autotests/input/indent/ruby/array22/origin create mode 100644 autotests/input/indent/ruby/array3/expected create mode 100644 autotests/input/indent/ruby/array3/input.js create mode 100644 autotests/input/indent/ruby/array3/origin create mode 100644 autotests/input/indent/ruby/array4/expected create mode 100644 autotests/input/indent/ruby/array4/input.js create mode 100644 autotests/input/indent/ruby/array4/origin create mode 100644 autotests/input/indent/ruby/array5/expected create mode 100644 autotests/input/indent/ruby/array5/input.js create mode 100644 autotests/input/indent/ruby/array5/origin create mode 100644 autotests/input/indent/ruby/array6/expected create mode 100644 autotests/input/indent/ruby/array6/input.js create mode 100644 autotests/input/indent/ruby/array6/origin create mode 100644 autotests/input/indent/ruby/array7/expected create mode 100644 autotests/input/indent/ruby/array7/input.js create mode 100644 autotests/input/indent/ruby/array7/origin create mode 100644 autotests/input/indent/ruby/array8/expected create mode 100644 autotests/input/indent/ruby/array8/input.js create mode 100644 autotests/input/indent/ruby/array8/origin create mode 100644 autotests/input/indent/ruby/array9/expected create mode 100644 autotests/input/indent/ruby/array9/input.js create mode 100644 autotests/input/indent/ruby/array9/origin create mode 100644 autotests/input/indent/ruby/basic1/expected create mode 100644 autotests/input/indent/ruby/basic1/input.js create mode 100644 autotests/input/indent/ruby/basic1/origin create mode 100644 autotests/input/indent/ruby/basic2/expected create mode 100644 autotests/input/indent/ruby/basic2/input.js create mode 100644 autotests/input/indent/ruby/basic2/origin create mode 100644 autotests/input/indent/ruby/basic3/expected create mode 100644 autotests/input/indent/ruby/basic3/input.js create mode 100644 autotests/input/indent/ruby/basic3/origin create mode 100644 autotests/input/indent/ruby/basic4/expected create mode 100644 autotests/input/indent/ruby/basic4/input.js create mode 100644 autotests/input/indent/ruby/basic4/origin create mode 100644 autotests/input/indent/ruby/block-comment1/expected create mode 100644 autotests/input/indent/ruby/block-comment1/input.js create mode 100644 autotests/input/indent/ruby/block-comment1/origin create mode 100644 autotests/input/indent/ruby/block-comment2/expected create mode 100644 autotests/input/indent/ruby/block-comment2/input.js create mode 100644 autotests/input/indent/ruby/block-comment2/origin create mode 100644 autotests/input/indent/ruby/block-comment3/expected create mode 100644 autotests/input/indent/ruby/block-comment3/input.js create mode 100644 autotests/input/indent/ruby/block-comment3/origin create mode 100644 autotests/input/indent/ruby/block-comment4/expected create mode 100644 autotests/input/indent/ruby/block-comment4/input.js create mode 100644 autotests/input/indent/ruby/block-comment4/origin create mode 100644 autotests/input/indent/ruby/block-comment5/expected create mode 100644 autotests/input/indent/ruby/block-comment5/input.js create mode 100644 autotests/input/indent/ruby/block-comment5/origin create mode 100644 autotests/input/indent/ruby/block-comment6/expected create mode 100644 autotests/input/indent/ruby/block-comment6/input.js create mode 100644 autotests/input/indent/ruby/block-comment6/origin create mode 100644 autotests/input/indent/ruby/block-comment7/expected create mode 100644 autotests/input/indent/ruby/block-comment7/input.js create mode 100644 autotests/input/indent/ruby/block-comment7/origin create mode 100644 autotests/input/indent/ruby/block-comment8/expected create mode 100644 autotests/input/indent/ruby/block-comment8/input.js create mode 100644 autotests/input/indent/ruby/block-comment8/origin create mode 100644 autotests/input/indent/ruby/block01/expected create mode 100644 autotests/input/indent/ruby/block01/input.js create mode 100644 autotests/input/indent/ruby/block01/origin create mode 100644 autotests/input/indent/ruby/block02/expected create mode 100644 autotests/input/indent/ruby/block02/input.js create mode 100644 autotests/input/indent/ruby/block02/origin create mode 100644 autotests/input/indent/ruby/comment1/expected create mode 100644 autotests/input/indent/ruby/comment1/input.js create mode 100644 autotests/input/indent/ruby/comment1/origin create mode 100644 autotests/input/indent/ruby/comment2/expected create mode 100644 autotests/input/indent/ruby/comment2/input.js create mode 100644 autotests/input/indent/ruby/comment2/origin create mode 100644 autotests/input/indent/ruby/comment3/expected create mode 100644 autotests/input/indent/ruby/comment3/input.js create mode 100644 autotests/input/indent/ruby/comment3/origin create mode 100644 autotests/input/indent/ruby/comment4/expected create mode 100644 autotests/input/indent/ruby/comment4/input.js create mode 100644 autotests/input/indent/ruby/comment4/origin create mode 100644 autotests/input/indent/ruby/comment5/expected create mode 100644 autotests/input/indent/ruby/comment5/input.js create mode 100644 autotests/input/indent/ruby/comment5/origin create mode 100644 autotests/input/indent/ruby/comment6/expected create mode 100644 autotests/input/indent/ruby/comment6/input.js create mode 100644 autotests/input/indent/ruby/comment6/origin create mode 100644 autotests/input/indent/ruby/do1/expected create mode 100644 autotests/input/indent/ruby/do1/input.js create mode 100644 autotests/input/indent/ruby/do1/origin create mode 100644 autotests/input/indent/ruby/do2/expected create mode 100644 autotests/input/indent/ruby/do2/input.js create mode 100644 autotests/input/indent/ruby/do2/origin create mode 100644 autotests/input/indent/ruby/do3/expected create mode 100644 autotests/input/indent/ruby/do3/input.js create mode 100644 autotests/input/indent/ruby/do3/origin create mode 100644 autotests/input/indent/ruby/do4/expected create mode 100644 autotests/input/indent/ruby/do4/input.js create mode 100644 autotests/input/indent/ruby/do4/origin create mode 100644 autotests/input/indent/ruby/do5/expected create mode 100644 autotests/input/indent/ruby/do5/input.js create mode 100644 autotests/input/indent/ruby/do5/origin create mode 100644 autotests/input/indent/ruby/do6/expected create mode 100644 autotests/input/indent/ruby/do6/input.js create mode 100644 autotests/input/indent/ruby/do6/origin create mode 100644 autotests/input/indent/ruby/do7/expected create mode 100644 autotests/input/indent/ruby/do7/input.js create mode 100644 autotests/input/indent/ruby/do7/origin create mode 100644 autotests/input/indent/ruby/empty-file1/expected create mode 100644 autotests/input/indent/ruby/empty-file1/input.js create mode 100644 autotests/input/indent/ruby/empty-file1/origin create mode 100644 autotests/input/indent/ruby/hash1/expected create mode 100644 autotests/input/indent/ruby/hash1/input.js create mode 100644 autotests/input/indent/ruby/hash1/origin create mode 100644 autotests/input/indent/ruby/hash10/expected create mode 100644 autotests/input/indent/ruby/hash10/input.js create mode 100644 autotests/input/indent/ruby/hash10/origin create mode 100644 autotests/input/indent/ruby/hash11/expected create mode 100644 autotests/input/indent/ruby/hash11/input.js create mode 100644 autotests/input/indent/ruby/hash11/origin create mode 100644 autotests/input/indent/ruby/hash12/expected create mode 100644 autotests/input/indent/ruby/hash12/input.js create mode 100644 autotests/input/indent/ruby/hash12/origin create mode 100644 autotests/input/indent/ruby/hash16/expected create mode 100644 autotests/input/indent/ruby/hash16/input.js create mode 100644 autotests/input/indent/ruby/hash16/origin create mode 100644 autotests/input/indent/ruby/hash17/expected create mode 100644 autotests/input/indent/ruby/hash17/input.js create mode 100644 autotests/input/indent/ruby/hash17/origin create mode 100644 autotests/input/indent/ruby/hash18/expected create mode 100644 autotests/input/indent/ruby/hash18/input.js create mode 100644 autotests/input/indent/ruby/hash18/origin create mode 100644 autotests/input/indent/ruby/hash19/expected create mode 100644 autotests/input/indent/ruby/hash19/input.js create mode 100644 autotests/input/indent/ruby/hash19/origin create mode 100644 autotests/input/indent/ruby/hash2/expected create mode 100644 autotests/input/indent/ruby/hash2/input.js create mode 100644 autotests/input/indent/ruby/hash2/origin create mode 100644 autotests/input/indent/ruby/hash20/expected create mode 100644 autotests/input/indent/ruby/hash20/input.js create mode 100644 autotests/input/indent/ruby/hash20/origin create mode 100644 autotests/input/indent/ruby/hash21/expected create mode 100644 autotests/input/indent/ruby/hash21/input.js create mode 100644 autotests/input/indent/ruby/hash21/origin create mode 100644 autotests/input/indent/ruby/hash22/expected create mode 100644 autotests/input/indent/ruby/hash22/input.js create mode 100644 autotests/input/indent/ruby/hash22/origin create mode 100644 autotests/input/indent/ruby/hash3/expected create mode 100644 autotests/input/indent/ruby/hash3/input.js create mode 100644 autotests/input/indent/ruby/hash3/origin create mode 100644 autotests/input/indent/ruby/hash4/expected create mode 100644 autotests/input/indent/ruby/hash4/input.js create mode 100644 autotests/input/indent/ruby/hash4/origin create mode 100644 autotests/input/indent/ruby/hash5/expected create mode 100644 autotests/input/indent/ruby/hash5/input.js create mode 100644 autotests/input/indent/ruby/hash5/origin create mode 100644 autotests/input/indent/ruby/hash6/expected create mode 100644 autotests/input/indent/ruby/hash6/input.js create mode 100644 autotests/input/indent/ruby/hash6/origin create mode 100644 autotests/input/indent/ruby/hash7/expected create mode 100644 autotests/input/indent/ruby/hash7/input.js create mode 100644 autotests/input/indent/ruby/hash7/origin create mode 100644 autotests/input/indent/ruby/hash8/expected create mode 100644 autotests/input/indent/ruby/hash8/input.js create mode 100644 autotests/input/indent/ruby/hash8/origin create mode 100644 autotests/input/indent/ruby/hash9/expected create mode 100644 autotests/input/indent/ruby/hash9/input.js create mode 100644 autotests/input/indent/ruby/hash9/origin create mode 100644 autotests/input/indent/ruby/heredoc1/expected create mode 100644 autotests/input/indent/ruby/heredoc1/input.js create mode 100644 autotests/input/indent/ruby/heredoc1/origin create mode 100644 autotests/input/indent/ruby/heredoc2/expected create mode 100644 autotests/input/indent/ruby/heredoc2/input.js create mode 100644 autotests/input/indent/ruby/heredoc2/origin create mode 100644 autotests/input/indent/ruby/heredoc3/expected create mode 100644 autotests/input/indent/ruby/heredoc3/input.js create mode 100644 autotests/input/indent/ruby/heredoc3/origin create mode 100644 autotests/input/indent/ruby/heredoc4/expected create mode 100644 autotests/input/indent/ruby/heredoc4/input.js create mode 100644 autotests/input/indent/ruby/heredoc4/origin create mode 100644 autotests/input/indent/ruby/heredoc5/expected create mode 100644 autotests/input/indent/ruby/heredoc5/input.js create mode 100644 autotests/input/indent/ruby/heredoc5/origin create mode 100644 autotests/input/indent/ruby/heredoc6/expected create mode 100644 autotests/input/indent/ruby/heredoc6/input.js create mode 100644 autotests/input/indent/ruby/heredoc6/origin create mode 100644 autotests/input/indent/ruby/if10/expected create mode 100644 autotests/input/indent/ruby/if10/input.js create mode 100644 autotests/input/indent/ruby/if10/origin create mode 100644 autotests/input/indent/ruby/if11/expected create mode 100644 autotests/input/indent/ruby/if11/input.js create mode 100644 autotests/input/indent/ruby/if11/origin create mode 100644 autotests/input/indent/ruby/if20/expected create mode 100644 autotests/input/indent/ruby/if20/input.js create mode 100644 autotests/input/indent/ruby/if20/origin create mode 100644 autotests/input/indent/ruby/if21/expected create mode 100644 autotests/input/indent/ruby/if21/input.js create mode 100644 autotests/input/indent/ruby/if21/origin create mode 100644 autotests/input/indent/ruby/if22/expected create mode 100644 autotests/input/indent/ruby/if22/input.js create mode 100644 autotests/input/indent/ruby/if22/origin create mode 100644 autotests/input/indent/ruby/if30/expected create mode 100644 autotests/input/indent/ruby/if30/input.js create mode 100644 autotests/input/indent/ruby/if30/origin create mode 100644 autotests/input/indent/ruby/if31/expected create mode 100644 autotests/input/indent/ruby/if31/input.js create mode 100644 autotests/input/indent/ruby/if31/origin create mode 100644 autotests/input/indent/ruby/multiline1/expected create mode 100644 autotests/input/indent/ruby/multiline1/input.js create mode 100644 autotests/input/indent/ruby/multiline1/origin create mode 100644 autotests/input/indent/ruby/multiline10/expected create mode 100644 autotests/input/indent/ruby/multiline10/input.js create mode 100644 autotests/input/indent/ruby/multiline10/origin create mode 100644 autotests/input/indent/ruby/multiline2/expected create mode 100644 autotests/input/indent/ruby/multiline2/input.js create mode 100644 autotests/input/indent/ruby/multiline2/origin create mode 100644 autotests/input/indent/ruby/multiline3/expected create mode 100644 autotests/input/indent/ruby/multiline3/input.js create mode 100644 autotests/input/indent/ruby/multiline3/origin create mode 100644 autotests/input/indent/ruby/multiline4/expected create mode 100644 autotests/input/indent/ruby/multiline4/input.js create mode 100644 autotests/input/indent/ruby/multiline4/origin create mode 100644 autotests/input/indent/ruby/multiline5/expected create mode 100644 autotests/input/indent/ruby/multiline5/input.js create mode 100644 autotests/input/indent/ruby/multiline5/origin create mode 100644 autotests/input/indent/ruby/multiline6/expected create mode 100644 autotests/input/indent/ruby/multiline6/input.js create mode 100644 autotests/input/indent/ruby/multiline6/origin create mode 100644 autotests/input/indent/ruby/multiline7/expected create mode 100644 autotests/input/indent/ruby/multiline7/input.js create mode 100644 autotests/input/indent/ruby/multiline7/origin create mode 100644 autotests/input/indent/ruby/multiline8/expected create mode 100644 autotests/input/indent/ruby/multiline8/input.js create mode 100644 autotests/input/indent/ruby/multiline8/origin create mode 100644 autotests/input/indent/ruby/multiline9/expected create mode 100644 autotests/input/indent/ruby/multiline9/input.js create mode 100644 autotests/input/indent/ruby/multiline9/origin create mode 100644 autotests/input/indent/ruby/no-do1/expected create mode 100644 autotests/input/indent/ruby/no-do1/input.js create mode 100644 autotests/input/indent/ruby/no-do1/origin create mode 100644 autotests/input/indent/ruby/no-do2/expected create mode 100644 autotests/input/indent/ruby/no-do2/input.js create mode 100644 autotests/input/indent/ruby/no-do2/origin create mode 100644 autotests/input/indent/ruby/no-do3/expected create mode 100644 autotests/input/indent/ruby/no-do3/input.js create mode 100644 autotests/input/indent/ruby/no-do3/origin create mode 100644 autotests/input/indent/ruby/no-do4/expected create mode 100644 autotests/input/indent/ruby/no-do4/input.js create mode 100644 autotests/input/indent/ruby/no-do4/origin create mode 100644 autotests/input/indent/ruby/ops1/expected create mode 100644 autotests/input/indent/ruby/ops1/input.js create mode 100644 autotests/input/indent/ruby/ops1/origin create mode 100644 autotests/input/indent/ruby/ops11/expected create mode 100644 autotests/input/indent/ruby/ops11/input.js create mode 100644 autotests/input/indent/ruby/ops11/origin create mode 100644 autotests/input/indent/ruby/ops12/expected create mode 100644 autotests/input/indent/ruby/ops12/input.js create mode 100644 autotests/input/indent/ruby/ops12/origin create mode 100644 autotests/input/indent/ruby/ops13/expected create mode 100644 autotests/input/indent/ruby/ops13/input.js create mode 100644 autotests/input/indent/ruby/ops13/origin create mode 100644 autotests/input/indent/ruby/ops14/expected create mode 100644 autotests/input/indent/ruby/ops14/input.js create mode 100644 autotests/input/indent/ruby/ops14/origin create mode 100644 autotests/input/indent/ruby/ops15/expected create mode 100644 autotests/input/indent/ruby/ops15/input.js create mode 100644 autotests/input/indent/ruby/ops15/origin create mode 100644 autotests/input/indent/ruby/ops16/expected create mode 100644 autotests/input/indent/ruby/ops16/input.js create mode 100644 autotests/input/indent/ruby/ops16/origin create mode 100644 autotests/input/indent/ruby/ops17/expected create mode 100644 autotests/input/indent/ruby/ops17/input.js create mode 100644 autotests/input/indent/ruby/ops17/origin create mode 100644 autotests/input/indent/ruby/ops18/expected create mode 100644 autotests/input/indent/ruby/ops18/input.js create mode 100644 autotests/input/indent/ruby/ops18/origin create mode 100644 autotests/input/indent/ruby/ops2/expected create mode 100644 autotests/input/indent/ruby/ops2/input.js create mode 100644 autotests/input/indent/ruby/ops2/origin create mode 100644 autotests/input/indent/ruby/ops21/expected create mode 100644 autotests/input/indent/ruby/ops21/input.js create mode 100644 autotests/input/indent/ruby/ops21/origin create mode 100644 autotests/input/indent/ruby/ops22/expected create mode 100644 autotests/input/indent/ruby/ops22/input.js create mode 100644 autotests/input/indent/ruby/ops22/origin create mode 100644 autotests/input/indent/ruby/ops23/expected create mode 100644 autotests/input/indent/ruby/ops23/input.js create mode 100644 autotests/input/indent/ruby/ops23/origin create mode 100644 autotests/input/indent/ruby/ops24/expected create mode 100644 autotests/input/indent/ruby/ops24/input.js create mode 100644 autotests/input/indent/ruby/ops24/origin create mode 100644 autotests/input/indent/ruby/ops25/expected create mode 100644 autotests/input/indent/ruby/ops25/input.js create mode 100644 autotests/input/indent/ruby/ops25/origin create mode 100644 autotests/input/indent/ruby/ops26/expected create mode 100644 autotests/input/indent/ruby/ops26/input.js create mode 100644 autotests/input/indent/ruby/ops26/origin create mode 100644 autotests/input/indent/ruby/ops27/expected create mode 100644 autotests/input/indent/ruby/ops27/input.js create mode 100644 autotests/input/indent/ruby/ops27/origin create mode 100644 autotests/input/indent/ruby/ops28/expected create mode 100644 autotests/input/indent/ruby/ops28/input.js create mode 100644 autotests/input/indent/ruby/ops28/origin create mode 100644 autotests/input/indent/ruby/ops3/expected create mode 100644 autotests/input/indent/ruby/ops3/input.js create mode 100644 autotests/input/indent/ruby/ops3/origin create mode 100644 autotests/input/indent/ruby/ops4/expected create mode 100644 autotests/input/indent/ruby/ops4/input.js create mode 100644 autotests/input/indent/ruby/ops4/origin create mode 100644 autotests/input/indent/ruby/ops5/expected create mode 100644 autotests/input/indent/ruby/ops5/input.js create mode 100644 autotests/input/indent/ruby/ops5/origin create mode 100644 autotests/input/indent/ruby/ops6/expected create mode 100644 autotests/input/indent/ruby/ops6/input.js create mode 100644 autotests/input/indent/ruby/ops6/origin create mode 100644 autotests/input/indent/ruby/ops7/expected create mode 100644 autotests/input/indent/ruby/ops7/input.js create mode 100644 autotests/input/indent/ruby/ops7/origin create mode 100644 autotests/input/indent/ruby/ops8/expected create mode 100644 autotests/input/indent/ruby/ops8/input.js create mode 100644 autotests/input/indent/ruby/ops8/origin create mode 100644 autotests/input/indent/ruby/plist-comment1/expected create mode 100644 autotests/input/indent/ruby/plist-comment1/input.js create mode 100644 autotests/input/indent/ruby/plist-comment1/origin create mode 100644 autotests/input/indent/ruby/plist-comment10/expected create mode 100644 autotests/input/indent/ruby/plist-comment10/input.js create mode 100644 autotests/input/indent/ruby/plist-comment10/origin create mode 100644 autotests/input/indent/ruby/plist-comment2/expected create mode 100644 autotests/input/indent/ruby/plist-comment2/input.js create mode 100644 autotests/input/indent/ruby/plist-comment2/origin create mode 100644 autotests/input/indent/ruby/plist-comment3/expected create mode 100644 autotests/input/indent/ruby/plist-comment3/input.js create mode 100644 autotests/input/indent/ruby/plist-comment3/origin create mode 100644 autotests/input/indent/ruby/plist-comment4/expected create mode 100644 autotests/input/indent/ruby/plist-comment4/input.js create mode 100644 autotests/input/indent/ruby/plist-comment4/origin create mode 100644 autotests/input/indent/ruby/plist-comment5/expected create mode 100644 autotests/input/indent/ruby/plist-comment5/input.js create mode 100644 autotests/input/indent/ruby/plist-comment5/origin create mode 100644 autotests/input/indent/ruby/plist-comment6/expected create mode 100644 autotests/input/indent/ruby/plist-comment6/input.js create mode 100644 autotests/input/indent/ruby/plist-comment6/origin create mode 100644 autotests/input/indent/ruby/plist-comment7/expected create mode 100644 autotests/input/indent/ruby/plist-comment7/input.js create mode 100644 autotests/input/indent/ruby/plist-comment7/origin create mode 100644 autotests/input/indent/ruby/plist-comment8/expected create mode 100644 autotests/input/indent/ruby/plist-comment8/input.js create mode 100644 autotests/input/indent/ruby/plist-comment8/origin create mode 100644 autotests/input/indent/ruby/plist-comment9/expected create mode 100644 autotests/input/indent/ruby/plist-comment9/input.js create mode 100644 autotests/input/indent/ruby/plist-comment9/origin create mode 100644 autotests/input/indent/ruby/plist1/expected create mode 100644 autotests/input/indent/ruby/plist1/input.js create mode 100644 autotests/input/indent/ruby/plist1/origin create mode 100644 autotests/input/indent/ruby/plist10/expected create mode 100644 autotests/input/indent/ruby/plist10/input.js create mode 100644 autotests/input/indent/ruby/plist10/origin create mode 100644 autotests/input/indent/ruby/plist11/expected create mode 100644 autotests/input/indent/ruby/plist11/input.js create mode 100644 autotests/input/indent/ruby/plist11/origin create mode 100644 autotests/input/indent/ruby/plist12/expected create mode 100644 autotests/input/indent/ruby/plist12/input.js create mode 100644 autotests/input/indent/ruby/plist12/origin create mode 100644 autotests/input/indent/ruby/plist13/expected create mode 100644 autotests/input/indent/ruby/plist13/input.js create mode 100644 autotests/input/indent/ruby/plist13/origin create mode 100644 autotests/input/indent/ruby/plist14/expected create mode 100644 autotests/input/indent/ruby/plist14/input.js create mode 100644 autotests/input/indent/ruby/plist14/origin create mode 100644 autotests/input/indent/ruby/plist15/expected create mode 100644 autotests/input/indent/ruby/plist15/input.js create mode 100644 autotests/input/indent/ruby/plist15/origin create mode 100644 autotests/input/indent/ruby/plist16/expected create mode 100644 autotests/input/indent/ruby/plist16/input.js create mode 100644 autotests/input/indent/ruby/plist16/origin create mode 100644 autotests/input/indent/ruby/plist17/expected create mode 100644 autotests/input/indent/ruby/plist17/input.js create mode 100644 autotests/input/indent/ruby/plist17/origin create mode 100644 autotests/input/indent/ruby/plist18/expected create mode 100644 autotests/input/indent/ruby/plist18/input.js create mode 100644 autotests/input/indent/ruby/plist18/origin create mode 100644 autotests/input/indent/ruby/plist19/expected create mode 100644 autotests/input/indent/ruby/plist19/input.js create mode 100644 autotests/input/indent/ruby/plist19/origin create mode 100644 autotests/input/indent/ruby/plist2/expected create mode 100644 autotests/input/indent/ruby/plist2/input.js create mode 100644 autotests/input/indent/ruby/plist2/origin create mode 100644 autotests/input/indent/ruby/plist20/expected create mode 100644 autotests/input/indent/ruby/plist20/input.js create mode 100644 autotests/input/indent/ruby/plist20/origin create mode 100644 autotests/input/indent/ruby/plist3/expected create mode 100644 autotests/input/indent/ruby/plist3/input.js create mode 100644 autotests/input/indent/ruby/plist3/origin create mode 100644 autotests/input/indent/ruby/plist4/expected create mode 100644 autotests/input/indent/ruby/plist4/input.js create mode 100644 autotests/input/indent/ruby/plist4/origin create mode 100644 autotests/input/indent/ruby/plist5/expected create mode 100644 autotests/input/indent/ruby/plist5/input.js create mode 100644 autotests/input/indent/ruby/plist5/origin create mode 100644 autotests/input/indent/ruby/plist6/expected create mode 100644 autotests/input/indent/ruby/plist6/input.js create mode 100644 autotests/input/indent/ruby/plist6/origin create mode 100644 autotests/input/indent/ruby/plist7/expected create mode 100644 autotests/input/indent/ruby/plist7/input.js create mode 100644 autotests/input/indent/ruby/plist7/origin create mode 100644 autotests/input/indent/ruby/plist8/expected create mode 100644 autotests/input/indent/ruby/plist8/input.js create mode 100644 autotests/input/indent/ruby/plist8/origin create mode 100644 autotests/input/indent/ruby/plist9/expected create mode 100644 autotests/input/indent/ruby/plist9/input.js create mode 100644 autotests/input/indent/ruby/plist9/origin create mode 100644 autotests/input/indent/ruby/regexp1/expected create mode 100644 autotests/input/indent/ruby/regexp1/input.js create mode 100644 autotests/input/indent/ruby/regexp1/origin create mode 100644 autotests/input/indent/ruby/singleline01/expected create mode 100644 autotests/input/indent/ruby/singleline01/input.js create mode 100644 autotests/input/indent/ruby/singleline01/origin create mode 100644 autotests/input/indent/ruby/singleline02/expected create mode 100644 autotests/input/indent/ruby/singleline02/input.js create mode 100644 autotests/input/indent/ruby/singleline02/origin create mode 100644 autotests/input/indent/ruby/singleline03/expected create mode 100644 autotests/input/indent/ruby/singleline03/input.js create mode 100644 autotests/input/indent/ruby/singleline03/origin create mode 100644 autotests/input/indent/ruby/singleline04/expected create mode 100644 autotests/input/indent/ruby/singleline04/input.js create mode 100644 autotests/input/indent/ruby/singleline04/origin create mode 100644 autotests/input/indent/ruby/wordlist01/expected create mode 100644 autotests/input/indent/ruby/wordlist01/input.js create mode 100644 autotests/input/indent/ruby/wordlist01/origin create mode 100644 autotests/input/indent/ruby/wordlist02/expected create mode 100644 autotests/input/indent/ruby/wordlist02/input.js create mode 100644 autotests/input/indent/ruby/wordlist02/origin create mode 100644 autotests/input/indent/ruby/wordlist11/expected create mode 100644 autotests/input/indent/ruby/wordlist11/input.js create mode 100644 autotests/input/indent/ruby/wordlist11/origin create mode 100644 autotests/input/indent/ruby/wordlist12/expected create mode 100644 autotests/input/indent/ruby/wordlist12/input.js create mode 100644 autotests/input/indent/ruby/wordlist12/origin create mode 100644 autotests/input/indent/ruby/wordlist21/expected create mode 100644 autotests/input/indent/ruby/wordlist21/input.js create mode 100644 autotests/input/indent/ruby/wordlist21/origin create mode 100644 autotests/input/indent/ruby/wordlist22/expected create mode 100644 autotests/input/indent/ruby/wordlist22/input.js create mode 100644 autotests/input/indent/ruby/wordlist22/origin create mode 100644 autotests/input/indent/xml/.kateconfig create mode 100644 autotests/input/indent/xml/arguments1/expected create mode 100644 autotests/input/indent/xml/arguments1/input.js create mode 100644 autotests/input/indent/xml/arguments1/origin create mode 100644 autotests/input/indent/xml/arguments2/expected create mode 100644 autotests/input/indent/xml/arguments2/input.js create mode 100644 autotests/input/indent/xml/arguments2/origin create mode 100644 autotests/input/indent/xml/arguments3/expected create mode 100644 autotests/input/indent/xml/arguments3/input.js create mode 100644 autotests/input/indent/xml/arguments3/origin create mode 100644 autotests/input/indent/xml/arguments4/expected create mode 100644 autotests/input/indent/xml/arguments4/input.js create mode 100644 autotests/input/indent/xml/arguments4/origin create mode 100644 autotests/input/indent/xml/closing1/expected create mode 100644 autotests/input/indent/xml/closing1/input.js create mode 100644 autotests/input/indent/xml/closing1/origin create mode 100644 autotests/input/indent/xml/closing2/expected create mode 100644 autotests/input/indent/xml/closing2/input.js create mode 100644 autotests/input/indent/xml/closing2/origin create mode 100644 autotests/input/indent/xml/closing3/expected create mode 100644 autotests/input/indent/xml/closing3/input.js create mode 100644 autotests/input/indent/xml/closing3/origin create mode 100644 autotests/input/indent/xml/comment1/README create mode 100644 autotests/input/indent/xml/comment1/expected create mode 100644 autotests/input/indent/xml/comment1/input.js create mode 100644 autotests/input/indent/xml/comment1/origin create mode 100644 autotests/input/indent/xml/comment2/expected create mode 100644 autotests/input/indent/xml/comment2/input.js create mode 100644 autotests/input/indent/xml/comment2/origin create mode 100644 autotests/input/indent/xml/empty_lines/expected create mode 100644 autotests/input/indent/xml/empty_lines/input.js create mode 100644 autotests/input/indent/xml/empty_lines/origin create mode 100644 autotests/input/indent/xml/keep_indent/expected create mode 100644 autotests/input/indent/xml/keep_indent/input.js create mode 100644 autotests/input/indent/xml/keep_indent/origin create mode 100644 autotests/input/indent/xml/opening1/expected create mode 100644 autotests/input/indent/xml/opening1/input.js create mode 100644 autotests/input/indent/xml/opening1/origin create mode 100644 autotests/input/indent/xml/self_closing1/expected create mode 100644 autotests/input/indent/xml/self_closing1/input.js create mode 100644 autotests/input/indent/xml/self_closing1/origin create mode 100644 autotests/input/indent/xml/self_closing2/expected create mode 100644 autotests/input/indent/xml/self_closing2/input.js create mode 100644 autotests/input/indent/xml/self_closing2/origin create mode 100644 autotests/input/indent/xml/text1/expected create mode 100644 autotests/input/indent/xml/text1/input.js create mode 100644 autotests/input/indent/xml/text1/origin create mode 100644 autotests/input/indent/xml/text2/expected create mode 100644 autotests/input/indent/xml/text2/input.js create mode 100644 autotests/input/indent/xml/text2/origin create mode 100644 autotests/input/indent/xml/xhtml1/expected create mode 100644 autotests/input/indent/xml/xhtml1/input.js create mode 100644 autotests/input/indent/xml/xhtml1/origin create mode 100644 autotests/input/md5checksum.txt create mode 100644 autotests/input/modelines.txt create mode 100644 autotests/input/scripting/bugs/317892_a/expected create mode 100644 autotests/input/scripting/bugs/317892_a/input.js create mode 100644 autotests/input/scripting/bugs/317892_a/origin create mode 100644 autotests/input/scripting/bugs/317892_b/expected create mode 100644 autotests/input/scripting/bugs/317892_b/input.js create mode 100644 autotests/input/scripting/bugs/317892_b/origin create mode 100644 autotests/input/scripting/bugs/317892_c/expected create mode 100644 autotests/input/scripting/bugs/317892_c/input.js create mode 100644 autotests/input/scripting/bugs/317892_c/origin create mode 100644 autotests/src/bug205447.cpp create mode 100644 autotests/src/bug205447.h create mode 100644 autotests/src/bug286887.cpp create mode 100644 autotests/src/bug286887.h create mode 100644 autotests/src/bug313759.cpp create mode 100644 autotests/src/bug313759.h create mode 100644 autotests/src/bug313769.cpp create mode 100644 autotests/src/bug313769.h create mode 100644 autotests/src/bug317111.cpp create mode 100644 autotests/src/bug317111.h create mode 100644 autotests/src/codecompletiontestmodel.cpp create mode 100644 autotests/src/codecompletiontestmodel.h create mode 100644 autotests/src/codecompletiontestmodels.cpp create mode 100644 autotests/src/codecompletiontestmodels.h create mode 100644 autotests/src/commands_test.cpp create mode 100644 autotests/src/commands_test.h create mode 100644 autotests/src/completion_test.cpp create mode 100644 autotests/src/completion_test.h create mode 100644 autotests/src/configinterface_test.cpp create mode 100644 autotests/src/configinterface_test.h create mode 100644 autotests/src/indenttest.cpp create mode 100644 autotests/src/indenttest.h create mode 100644 autotests/src/inlinenote_test.cpp create mode 100644 autotests/src/inlinenote_test.h create mode 100644 autotests/src/katedocument_test.cpp create mode 100644 autotests/src/katedocument_test.h create mode 100644 autotests/src/kateencodingtest.cpp create mode 100644 autotests/src/katefoldingtest.cpp create mode 100644 autotests/src/katefoldingtest.h create mode 100644 autotests/src/katetextbuffertest.cpp create mode 100644 autotests/src/katetextbuffertest.h create mode 100644 autotests/src/kateview_test.cpp create mode 100644 autotests/src/kateview_test.h create mode 100644 autotests/src/katewildcardmatcher_test.cpp create mode 100644 autotests/src/kte_documentcursor.cpp create mode 100644 autotests/src/kte_documentcursor.h create mode 100644 autotests/src/messagetest.cpp create mode 100644 autotests/src/messagetest.h create mode 100644 autotests/src/modificationsystem_test.cpp create mode 100644 autotests/src/modificationsystem_test.h create mode 100644 autotests/src/movingcursor_test.cpp create mode 100644 autotests/src/movingcursor_test.h create mode 100644 autotests/src/movingrange_test.cpp create mode 100644 autotests/src/movingrange_test.h create mode 100644 autotests/src/plaintextsearch_test.cpp create mode 100644 autotests/src/plaintextsearch_test.h create mode 100644 autotests/src/range_test.cpp create mode 100644 autotests/src/range_test.h create mode 100644 autotests/src/regexpsearch_test.cpp create mode 100644 autotests/src/regexpsearch_test.h create mode 100644 autotests/src/revision_test.cpp create mode 100644 autotests/src/revision_test.h create mode 100644 autotests/src/script_test_base.cpp create mode 100644 autotests/src/script_test_base.h create mode 100644 autotests/src/scriptdocument_test.cpp create mode 100644 autotests/src/scriptdocument_test.h create mode 100644 autotests/src/scripting_test.cpp create mode 100644 autotests/src/scripting_test.h create mode 100644 autotests/src/searchbar_test.cpp create mode 100644 autotests/src/searchbar_test.h create mode 100644 autotests/src/templatehandler_test.cpp create mode 100644 autotests/src/templatehandler_test.h create mode 100644 autotests/src/test.uc create mode 100644 autotests/src/testutils.cpp create mode 100644 autotests/src/testutils.h create mode 100644 autotests/src/undomanager_test.cpp create mode 100644 autotests/src/undomanager_test.h create mode 100644 autotests/src/vimode/CMakeLists.txt create mode 100644 autotests/src/vimode/base.cpp create mode 100644 autotests/src/vimode/base.h create mode 100644 autotests/src/vimode/completion.cpp create mode 100644 autotests/src/vimode/completion.h create mode 100644 autotests/src/vimode/emulatedcommandbar.cpp create mode 100644 autotests/src/vimode/emulatedcommandbar.h create mode 100644 autotests/src/vimode/emulatedcommandbarsetupandteardown.cpp create mode 100644 autotests/src/vimode/emulatedcommandbarsetupandteardown.h create mode 100644 autotests/src/vimode/fakecodecompletiontestmodel.cpp create mode 100644 autotests/src/vimode/fakecodecompletiontestmodel.h create mode 100644 autotests/src/vimode/keys.cpp create mode 100644 autotests/src/vimode/keys.h create mode 100644 autotests/src/vimode/modes.cpp create mode 100644 autotests/src/vimode/modes.h create mode 100644 autotests/src/vimode/view.cpp create mode 100644 autotests/src/vimode/view.h create mode 100644 autotests/src/wordcompletiontest.cpp create mode 100644 autotests/src/wordcompletiontest.h create mode 100644 cmake/FindEditorConfig.cmake create mode 100644 config.h.cmake create mode 100644 docs/apidocs-groups.dox create mode 100644 docs/coding-guidelines.dox create mode 100644 docs/design.dox create mode 100644 docs/pics/inlinenote.png create mode 100644 docs/pics/ktexteditorhierarchy.png create mode 100644 docs/pics/texthint.png create mode 100644 docs/porting.dox create mode 100644 ktexteditor.categories create mode 100644 metainfo.yaml create mode 100644 po/af/ktexteditor5.po create mode 100644 po/ar/ktexteditor5.po create mode 100644 po/ast/ktexteditor5.po create mode 100644 po/be/ktexteditor5.po create mode 100644 po/bg/ktexteditor5.po create mode 100644 po/bn/ktexteditor5.po create mode 100644 po/br/ktexteditor5.po create mode 100644 po/bs/ktexteditor5.po create mode 100644 po/ca/ktexteditor5.po create mode 100644 po/ca@valencia/ktexteditor5.po create mode 100644 po/cs/ktexteditor5.po create mode 100644 po/cy/ktexteditor5.po create mode 100644 po/da/ktexteditor5.po create mode 100644 po/de/ktexteditor5.po create mode 100644 po/el/ktexteditor5.po create mode 100644 po/en_GB/ktexteditor5.po create mode 100644 po/eo/ktexteditor5.po create mode 100644 po/es/ktexteditor5.po create mode 100644 po/et/ktexteditor5.po create mode 100644 po/eu/ktexteditor5.po create mode 100644 po/fa/ktexteditor5.po create mode 100644 po/fi/ktexteditor5.po create mode 100644 po/fr/ktexteditor5.po create mode 100644 po/fy/ktexteditor5.po create mode 100644 po/ga/ktexteditor5.po create mode 100644 po/gl/ktexteditor5.po create mode 100644 po/gu/ktexteditor5.po create mode 100644 po/he/ktexteditor5.po create mode 100644 po/hi/ktexteditor5.po create mode 100644 po/hr/ktexteditor5.po create mode 100644 po/hsb/ktexteditor5.po create mode 100644 po/hu/ktexteditor5.po create mode 100644 po/ia/ktexteditor5.po create mode 100644 po/id/ktexteditor5.po create mode 100644 po/is/ktexteditor5.po create mode 100644 po/it/ktexteditor5.po create mode 100644 po/ja/ktexteditor5.po create mode 100644 po/ka/ktexteditor5.po create mode 100644 po/kk/ktexteditor5.po create mode 100644 po/km/ktexteditor5.po create mode 100644 po/ko/ktexteditor5.po create mode 100644 po/ku/ktexteditor5.po create mode 100644 po/lb/ktexteditor5.po create mode 100644 po/lt/ktexteditor5.po create mode 100644 po/lv/ktexteditor5.po create mode 100644 po/mai/ktexteditor5.po create mode 100644 po/mk/ktexteditor5.po create mode 100644 po/ml/ktexteditor5.po create mode 100644 po/mr/ktexteditor5.po create mode 100644 po/ms/ktexteditor5.po create mode 100644 po/nb/ktexteditor5.po create mode 100644 po/nds/ktexteditor5.po create mode 100644 po/ne/ktexteditor5.po create mode 100644 po/nl/ktexteditor5.po create mode 100644 po/nn/ktexteditor5.po create mode 100644 po/oc/ktexteditor5.po create mode 100644 po/pa/ktexteditor5.po create mode 100644 po/pl/ktexteditor5.po create mode 100644 po/pt/ktexteditor5.po create mode 100644 po/pt_BR/ktexteditor5.po create mode 100644 po/ro/ktexteditor5.po create mode 100644 po/ru/ktexteditor5.po create mode 100644 po/se/ktexteditor5.po create mode 100644 po/si/ktexteditor5.po create mode 100644 po/sk/ktexteditor5.po create mode 100644 po/sl/ktexteditor5.po create mode 100644 po/sq/ktexteditor5.po create mode 100644 po/sr/ktexteditor5.po create mode 100644 po/sr@ijekavian/ktexteditor5.po create mode 100644 po/sr@ijekavianlatin/ktexteditor5.po create mode 100644 po/sr@latin/ktexteditor5.po create mode 100644 po/sv/ktexteditor5.po create mode 100644 po/ta/ktexteditor5.po create mode 100644 po/tg/ktexteditor5.po create mode 100644 po/th/ktexteditor5.po create mode 100644 po/tr/ktexteditor5.po create mode 100644 po/ug/ktexteditor5.po create mode 100644 po/uk/ktexteditor5.po create mode 100644 po/uz/ktexteditor5.po create mode 100644 po/uz@cyrillic/ktexteditor5.po create mode 100644 po/vi/ktexteditor5.po create mode 100644 po/wa/ktexteditor5.po create mode 100644 po/xh/ktexteditor5.po create mode 100644 po/zh_CN/ktexteditor5.po create mode 100644 po/zh_TW/ktexteditor5.po create mode 100644 src/CMakeLists.txt create mode 100644 src/Messages.sh create mode 100644 src/README.md create mode 100644 src/TODO create mode 100644 src/buffer/katesecuretextbuffer.cpp create mode 100644 src/buffer/katesecuretextbuffer_p.h create mode 100644 src/buffer/katetextblock.cpp create mode 100644 src/buffer/katetextblock.h create mode 100644 src/buffer/katetextbuffer.cpp create mode 100644 src/buffer/katetextbuffer.h create mode 100644 src/buffer/katetextcursor.cpp create mode 100644 src/buffer/katetextcursor.h create mode 100644 src/buffer/katetextfolding.cpp create mode 100644 src/buffer/katetextfolding.h create mode 100644 src/buffer/katetexthistory.cpp create mode 100644 src/buffer/katetexthistory.h create mode 100644 src/buffer/katetextline.cpp create mode 100644 src/buffer/katetextline.h create mode 100644 src/buffer/katetextloader.h create mode 100644 src/buffer/katetextrange.cpp create mode 100644 src/buffer/katetextrange.h create mode 100644 src/buffer/org.kde.ktexteditor.katetextbuffer.actions create mode 100644 src/completion/expandingtree/expandingdelegate.cpp create mode 100644 src/completion/expandingtree/expandingdelegate.h create mode 100644 src/completion/expandingtree/expandingtree.cpp create mode 100644 src/completion/expandingtree/expandingtree.h create mode 100644 src/completion/expandingtree/expandingwidgetmodel.cpp create mode 100644 src/completion/expandingtree/expandingwidgetmodel.h create mode 100644 src/completion/kateargumenthintmodel.cpp create mode 100644 src/completion/kateargumenthintmodel.h create mode 100644 src/completion/kateargumenthinttree.cpp create mode 100644 src/completion/kateargumenthinttree.h create mode 100644 src/completion/katecompletionconfig.cpp create mode 100644 src/completion/katecompletionconfig.h create mode 100644 src/completion/katecompletiondelegate.cpp create mode 100644 src/completion/katecompletiondelegate.h create mode 100644 src/completion/katecompletionmodel.cpp create mode 100644 src/completion/katecompletionmodel.h create mode 100644 src/completion/katecompletiontree.cpp create mode 100644 src/completion/katecompletiontree.h create mode 100644 src/completion/katecompletionwidget.cpp create mode 100644 src/completion/katecompletionwidget.h create mode 100644 src/completion/katekeywordcompletion.cpp create mode 100644 src/completion/katekeywordcompletion.h create mode 100644 src/completion/katewordcompletion.cpp create mode 100644 src/completion/katewordcompletion.h create mode 100644 src/data/CMakeLists.txt create mode 100644 src/data/katemoderc create mode 100644 src/data/katepart5ui.rc create mode 100644 src/data/kateschemarc create mode 100644 src/data/katesyntaxhighlightingrc create mode 100644 src/data/ktexteditor.desktop create mode 100644 src/data/ktexteditor.qrc create mode 100644 src/data/ktexteditorplugin.desktop create mode 100644 src/data/mascot.png create mode 100644 src/dialogs/bordersappearanceconfigwidget.ui create mode 100644 src/dialogs/commandmenuconfigwidget.ui create mode 100644 src/dialogs/commandmenueditwidget.ui create mode 100644 src/dialogs/completionconfigtab.ui create mode 100644 src/dialogs/completionconfigwidget.ui create mode 100644 src/dialogs/editconfigwidget.ui create mode 100644 src/dialogs/filetypeconfigwidget.ui create mode 100644 src/dialogs/indentationconfigwidget.ui create mode 100644 src/dialogs/kateconfigpage.cpp create mode 100644 src/dialogs/kateconfigpage.h create mode 100644 src/dialogs/katedialogs.cpp create mode 100644 src/dialogs/katedialogs.h create mode 100644 src/dialogs/navigationconfigwidget.ui create mode 100644 src/dialogs/opensaveconfigadvwidget.ui create mode 100644 src/dialogs/opensaveconfigwidget.ui create mode 100644 src/dialogs/spellcheckconfigwidget.ui create mode 100644 src/dialogs/textareaappearanceconfigwidget.ui create mode 100644 src/document/editorconfig.cpp create mode 100644 src/document/editorconfig.h create mode 100644 src/document/katebuffer.cpp create mode 100644 src/document/katebuffer.h create mode 100644 src/document/katedocument.cpp create mode 100644 src/document/katedocument.h create mode 100644 src/draft/foldinginterface.h create mode 100644 src/export/abstractexporter.h create mode 100644 src/export/exporter.cpp create mode 100644 src/export/exporter.h create mode 100644 src/export/htmlexporter.cpp create mode 100644 src/export/htmlexporter.h create mode 100644 src/include/CMakeLists.txt create mode 100644 src/include/ktexteditor/annotationinterface.h create mode 100644 src/include/ktexteditor/application.h create mode 100644 src/include/ktexteditor/attribute.h create mode 100644 src/include/ktexteditor/codecompletioninterface.h create mode 100644 src/include/ktexteditor/codecompletionmodel.h create mode 100644 src/include/ktexteditor/codecompletionmodelcontrollerinterface.h create mode 100644 src/include/ktexteditor/command.h create mode 100644 src/include/ktexteditor/configinterface.h create mode 100644 src/include/ktexteditor/configpage.h create mode 100644 src/include/ktexteditor/cursor.h create mode 100644 src/include/ktexteditor/document.h create mode 100644 src/include/ktexteditor/documentcursor.h create mode 100644 src/include/ktexteditor/editor.h create mode 100644 src/include/ktexteditor/inlinenote.h create mode 100755 src/include/ktexteditor/inlinenoteinterface.h create mode 100644 src/include/ktexteditor/inlinenoteprovider.h create mode 100644 src/include/ktexteditor/mainwindow.h create mode 100644 src/include/ktexteditor/markinterface.h create mode 100644 src/include/ktexteditor/message.h create mode 100644 src/include/ktexteditor/modificationinterface.h create mode 100644 src/include/ktexteditor/movingcursor.h create mode 100644 src/include/ktexteditor/movinginterface.h create mode 100644 src/include/ktexteditor/movingrange.h create mode 100644 src/include/ktexteditor/movingrangefeedback.h create mode 100644 src/include/ktexteditor/plugin.h create mode 100644 src/include/ktexteditor/range.h create mode 100644 src/include/ktexteditor/sessionconfiginterface.h create mode 100644 src/include/ktexteditor/texthintinterface.h create mode 100644 src/include/ktexteditor/view.h create mode 100644 src/inputmode/kateabstractinputmode.cpp create mode 100644 src/inputmode/kateabstractinputmode.h create mode 100644 src/inputmode/kateabstractinputmodefactory.cpp create mode 100644 src/inputmode/kateabstractinputmodefactory.h create mode 100644 src/inputmode/katenormalinputmode.cpp create mode 100644 src/inputmode/katenormalinputmode.h create mode 100644 src/inputmode/katenormalinputmodefactory.cpp create mode 100644 src/inputmode/katenormalinputmodefactory.h create mode 100644 src/inputmode/kateviinputmode.cpp create mode 100644 src/inputmode/kateviinputmode.h create mode 100644 src/inputmode/kateviinputmodefactory.cpp create mode 100644 src/inputmode/kateviinputmodefactory.h create mode 100644 src/mode/katemodeconfigpage.cpp create mode 100644 src/mode/katemodeconfigpage.h create mode 100644 src/mode/katemodemanager.cpp create mode 100644 src/mode/katemodemanager.h create mode 100644 src/mode/katemodemenu.cpp create mode 100644 src/mode/katemodemenu.h create mode 100644 src/mode/katewildcardmatcher.cpp create mode 100644 src/mode/katewildcardmatcher.h create mode 100644 src/part/CMakeLists.txt create mode 100644 src/part/katepart.cpp create mode 100644 src/part/katepart.desktop create mode 100644 src/printing/kateprinter.cpp create mode 100644 src/printing/kateprinter.h create mode 100644 src/printing/printconfigwidgets.cpp create mode 100644 src/printing/printconfigwidgets.h create mode 100644 src/printing/printpainter.cpp create mode 100644 src/printing/printpainter.h create mode 100644 src/render/katelayoutcache.cpp create mode 100644 src/render/katelayoutcache.h create mode 100644 src/render/katelinelayout.cpp create mode 100644 src/render/katelinelayout.h create mode 100644 src/render/katerenderer.cpp create mode 100644 src/render/katerenderer.h create mode 100644 src/render/katerenderrange.cpp create mode 100644 src/render/katerenderrange.h create mode 100644 src/render/katetextlayout.cpp create mode 100644 src/render/katetextlayout.h create mode 100644 src/schema/howtoimportschema.ui create mode 100644 src/schema/katecategorydrawer.cpp create mode 100644 src/schema/katecategorydrawer.h create mode 100644 src/schema/katecolortreewidget.cpp create mode 100644 src/schema/katecolortreewidget.h create mode 100644 src/schema/kateschema.cpp create mode 100644 src/schema/kateschema.h create mode 100644 src/schema/kateschemaconfig.cpp create mode 100644 src/schema/kateschemaconfig.h create mode 100644 src/schema/katestyletreewidget.cpp create mode 100644 src/schema/katestyletreewidget.h create mode 100644 src/script/data/CMakeLists.txt create mode 100644 src/script/data/README.md create mode 100644 src/script/data/commands/emmet.js create mode 100644 src/script/data/commands/jumpMatchingIndent.js create mode 100644 src/script/data/commands/quickcoding.js create mode 100644 src/script/data/commands/utils.js create mode 100644 src/script/data/files/quickcoding/cpp/a.template create mode 100644 src/script/data/files/quickcoding/cpp/c.template create mode 100644 src/script/data/indentation/ada.js create mode 100644 src/script/data/indentation/cmake.js create mode 100644 src/script/data/indentation/cppstyle.README.md create mode 100644 src/script/data/indentation/cppstyle.js create mode 100644 src/script/data/indentation/cstyle.js create mode 100644 src/script/data/indentation/haskell.js create mode 100644 src/script/data/indentation/latex.js create mode 100644 src/script/data/indentation/lilypond.js create mode 100644 src/script/data/indentation/lisp.js create mode 100644 src/script/data/indentation/lua.js create mode 100644 src/script/data/indentation/pascal.js create mode 100644 src/script/data/indentation/python.js create mode 100644 src/script/data/indentation/r.js create mode 100644 src/script/data/indentation/replicode.js create mode 100644 src/script/data/indentation/ruby.js create mode 100644 src/script/data/indentation/xml.js create mode 100644 src/script/data/indentation_template.js create mode 100644 src/script/data/libraries/cmake_indenter_config.js create mode 100644 src/script/data/libraries/cursor.js create mode 100644 src/script/data/libraries/documentcursor.js create mode 100644 src/script/data/libraries/emmet/editor_interface.js create mode 100644 src/script/data/libraries/emmet/lib.js create mode 100644 src/script/data/libraries/range.js create mode 100644 src/script/data/libraries/string.js create mode 100644 src/script/data/libraries/underscore.js create mode 100644 src/script/data/libraries/utils.js create mode 100644 src/script/data/test_selectioniface.js create mode 100644 src/script/katecommandlinescript.cpp create mode 100644 src/script/katecommandlinescript.h create mode 100644 src/script/kateindentscript.cpp create mode 100644 src/script/kateindentscript.h create mode 100644 src/script/katescript.cpp create mode 100644 src/script/katescript.h create mode 100644 src/script/katescriptaction.cpp create mode 100644 src/script/katescriptaction.h create mode 100644 src/script/katescriptdocument.cpp create mode 100644 src/script/katescriptdocument.h create mode 100644 src/script/katescripteditor.cpp create mode 100644 src/script/katescripteditor.h create mode 100644 src/script/katescripthelpers.cpp create mode 100644 src/script/katescripthelpers.h create mode 100644 src/script/katescriptmanager.cpp create mode 100644 src/script/katescriptmanager.h create mode 100644 src/script/katescriptview.cpp create mode 100644 src/script/katescriptview.h create mode 100644 src/script/scriptcursor.h create mode 100644 src/script/scriptrange.h create mode 100644 src/search/katematch.cpp create mode 100644 src/search/katematch.h create mode 100644 src/search/kateplaintextsearch.cpp create mode 100644 src/search/kateplaintextsearch.h create mode 100644 src/search/kateregexp.cpp create mode 100644 src/search/kateregexp.h create mode 100644 src/search/kateregexpsearch.cpp create mode 100644 src/search/kateregexpsearch.h create mode 100644 src/search/katesearchbar.cpp create mode 100644 src/search/katesearchbar.h create mode 100644 src/search/searchbarincremental.ui create mode 100644 src/search/searchbarpower.ui create mode 100644 src/spellcheck/ontheflycheck.cpp create mode 100644 src/spellcheck/ontheflycheck.h create mode 100644 src/spellcheck/prefixstore.cpp create mode 100644 src/spellcheck/prefixstore.h create mode 100644 src/spellcheck/spellcheck.cpp create mode 100644 src/spellcheck/spellcheck.h create mode 100644 src/spellcheck/spellcheckbar.cpp create mode 100644 src/spellcheck/spellcheckbar.h create mode 100644 src/spellcheck/spellcheckbar.ui create mode 100644 src/spellcheck/spellcheckdialog.cpp create mode 100644 src/spellcheck/spellcheckdialog.h create mode 100644 src/spellcheck/spellingmenu.cpp create mode 100644 src/spellcheck/spellingmenu.h create mode 100644 src/swapfile/kateswapdiffcreator.cpp create mode 100644 src/swapfile/kateswapdiffcreator.h create mode 100644 src/swapfile/kateswapfile.cpp create mode 100644 src/swapfile/kateswapfile.h create mode 100644 src/syntax/kateextendedattribute.h create mode 100644 src/syntax/katehighlight.cpp create mode 100644 src/syntax/katehighlight.h create mode 100644 src/syntax/katehighlightingcmds.cpp create mode 100644 src/syntax/katehighlightingcmds.h create mode 100644 src/syntax/katehighlightmenu.cpp create mode 100644 src/syntax/katehighlightmenu.h create mode 100644 src/syntax/katesyntaxmanager.cpp create mode 100644 src/syntax/katesyntaxmanager.h create mode 100644 src/undo/katemodifiedundo.cpp create mode 100644 src/undo/katemodifiedundo.h create mode 100644 src/undo/kateundo.cpp create mode 100644 src/undo/kateundo.h create mode 100644 src/undo/kateundomanager.cpp create mode 100644 src/undo/kateundomanager.h create mode 100644 src/utils/application.cpp create mode 100644 src/utils/attribute.cpp create mode 100644 src/utils/codecompletioninterface.cpp create mode 100644 src/utils/codecompletionmodel.cpp create mode 100644 src/utils/codecompletionmodelcontrollerinterface.cpp create mode 100644 src/utils/configinterface.cpp create mode 100644 src/utils/document.cpp create mode 100644 src/utils/documentcursor.cpp create mode 100644 src/utils/kateautoindent.cpp create mode 100644 src/utils/kateautoindent.h create mode 100644 src/utils/katebookmarks.cpp create mode 100644 src/utils/katebookmarks.h create mode 100644 src/utils/katecmd.cpp create mode 100644 src/utils/katecmd.h create mode 100644 src/utils/katecmds.cpp create mode 100644 src/utils/katecmds.h create mode 100644 src/utils/katecommandrangeexpressionparser.cpp create mode 100644 src/utils/katecommandrangeexpressionparser.h create mode 100644 src/utils/kateconfig.cpp create mode 100644 src/utils/kateconfig.h create mode 100644 src/utils/katedefaultcolors.cpp create mode 100644 src/utils/katedefaultcolors.h create mode 100644 src/utils/kateglobal.cpp create mode 100644 src/utils/kateglobal.h create mode 100644 src/utils/katesedcmd.cpp create mode 100644 src/utils/katesedcmd.h create mode 100644 src/utils/katetemplatehandler.cpp create mode 100644 src/utils/katetemplatehandler.h create mode 100644 src/utils/ktexteditor.cpp create mode 100644 src/utils/mainwindow.cpp create mode 100644 src/utils/messageinterface.cpp create mode 100644 src/utils/movingcursor.cpp create mode 100644 src/utils/movinginterface.cpp create mode 100644 src/utils/movingrange.cpp create mode 100644 src/utils/movingrangefeedback.cpp create mode 100644 src/utils/range.cpp create mode 100644 src/variableeditor/katehelpbutton.cpp create mode 100644 src/variableeditor/katehelpbutton.h create mode 100644 src/variableeditor/variableeditor.cpp create mode 100644 src/variableeditor/variableeditor.h create mode 100644 src/variableeditor/variableitem.cpp create mode 100644 src/variableeditor/variableitem.h create mode 100644 src/variableeditor/variablelineedit.cpp create mode 100644 src/variableeditor/variablelineedit.h create mode 100644 src/variableeditor/variablelistview.cpp create mode 100644 src/variableeditor/variablelistview.h create mode 100644 src/view/inlinenotedata.h create mode 100644 src/view/kateanimation.cpp create mode 100644 src/view/kateanimation.h create mode 100644 src/view/katefadeeffect.cpp create mode 100644 src/view/katefadeeffect.h create mode 100644 src/view/katemessagewidget.cpp create mode 100644 src/view/katemessagewidget.h create mode 100644 src/view/katestatusbar.cpp create mode 100644 src/view/katestatusbar.h create mode 100644 src/view/katetextanimation.cpp create mode 100644 src/view/katetextanimation.h create mode 100644 src/view/katetextpreview.cpp create mode 100644 src/view/katetextpreview.h create mode 100644 src/view/kateview.cpp create mode 100644 src/view/kateview.h create mode 100644 src/view/kateviewaccessible.h create mode 100644 src/view/kateviewhelpers.cpp create mode 100644 src/view/kateviewhelpers.h create mode 100644 src/view/kateviewinternal.cpp create mode 100644 src/view/kateviewinternal.h create mode 100644 src/view/wordcounter.cpp create mode 100644 src/view/wordcounter.h create mode 100644 src/vimode/appcommands.cpp create mode 100644 src/vimode/appcommands.h create mode 100644 src/vimode/cmds.cpp create mode 100644 src/vimode/cmds.h create mode 100644 src/vimode/command.cpp create mode 100644 src/vimode/command.h create mode 100644 src/vimode/commandinterface.h create mode 100644 src/vimode/commandrangeexpressionparser.cpp create mode 100644 src/vimode/commandrangeexpressionparser.h create mode 100644 src/vimode/completion.cpp create mode 100644 src/vimode/completion.h create mode 100644 src/vimode/completionrecorder.cpp create mode 100644 src/vimode/completionrecorder.h create mode 100644 src/vimode/completionreplayer.cpp create mode 100644 src/vimode/completionreplayer.h create mode 100644 src/vimode/config/configtab.cpp create mode 100644 src/vimode/config/configtab.h create mode 100644 src/vimode/config/configwidget.ui create mode 100644 src/vimode/definitions.h create mode 100644 src/vimode/emulatedcommandbar/activemode.cpp create mode 100644 src/vimode/emulatedcommandbar/activemode.h create mode 100644 src/vimode/emulatedcommandbar/commandmode.cpp create mode 100644 src/vimode/emulatedcommandbar/commandmode.h create mode 100644 src/vimode/emulatedcommandbar/completer.cpp create mode 100644 src/vimode/emulatedcommandbar/completer.h create mode 100644 src/vimode/emulatedcommandbar/emulatedcommandbar.cpp create mode 100644 src/vimode/emulatedcommandbar/emulatedcommandbar.h create mode 100644 src/vimode/emulatedcommandbar/interactivesedreplacemode.cpp create mode 100644 src/vimode/emulatedcommandbar/interactivesedreplacemode.h create mode 100644 src/vimode/emulatedcommandbar/matchhighlighter.cpp create mode 100644 src/vimode/emulatedcommandbar/matchhighlighter.h create mode 100644 src/vimode/emulatedcommandbar/searchmode.cpp create mode 100644 src/vimode/emulatedcommandbar/searchmode.h create mode 100644 src/vimode/globalstate.cpp create mode 100644 src/vimode/globalstate.h create mode 100644 src/vimode/history.cpp create mode 100644 src/vimode/history.h create mode 100644 src/vimode/inputmodemanager.cpp create mode 100644 src/vimode/inputmodemanager.h create mode 100644 src/vimode/jumps.cpp create mode 100644 src/vimode/jumps.h create mode 100644 src/vimode/keymapper.cpp create mode 100644 src/vimode/keymapper.h create mode 100644 src/vimode/keyparser.cpp create mode 100644 src/vimode/keyparser.h create mode 100644 src/vimode/lastchangerecorder.cpp create mode 100644 src/vimode/lastchangerecorder.h create mode 100644 src/vimode/macrorecorder.cpp create mode 100644 src/vimode/macrorecorder.h create mode 100644 src/vimode/macros.cpp create mode 100644 src/vimode/macros.h create mode 100644 src/vimode/mappings.cpp create mode 100644 src/vimode/mappings.h create mode 100644 src/vimode/marks.cpp create mode 100644 src/vimode/marks.h create mode 100644 src/vimode/modes/insertvimode.cpp create mode 100644 src/vimode/modes/insertvimode.h create mode 100644 src/vimode/modes/modebase.cpp create mode 100644 src/vimode/modes/modebase.h create mode 100644 src/vimode/modes/normalvimode.cpp create mode 100644 src/vimode/modes/normalvimode.h create mode 100644 src/vimode/modes/replacevimode.cpp create mode 100644 src/vimode/modes/replacevimode.h create mode 100644 src/vimode/modes/visualvimode.cpp create mode 100644 src/vimode/modes/visualvimode.h create mode 100644 src/vimode/motion.cpp create mode 100644 src/vimode/motion.h create mode 100644 src/vimode/range.cpp create mode 100644 src/vimode/range.h create mode 100644 src/vimode/registers.cpp create mode 100644 src/vimode/registers.h create mode 100644 src/vimode/searcher.cpp create mode 100644 src/vimode/searcher.h create mode 100644 templates/CMakeLists.txt create mode 100644 templates/ktexteditor-plugin/CMakeLists.txt create mode 100644 templates/ktexteditor-plugin/README.md create mode 100644 templates/ktexteditor-plugin/ktexteditor-plugin.kdevtemplate create mode 100644 templates/ktexteditor-plugin/ktexteditor-plugin.png create mode 100644 templates/ktexteditor-plugin/src/%{APPNAMELC}.json create mode 100644 templates/ktexteditor-plugin/src/%{APPNAMELC}plugin.cpp create mode 100644 templates/ktexteditor-plugin/src/%{APPNAMELC}plugin.h create mode 100644 templates/ktexteditor-plugin/src/%{APPNAMELC}view.cpp create mode 100644 templates/ktexteditor-plugin/src/%{APPNAMELC}view.h create mode 100644 templates/ktexteditor-plugin/src/CMakeLists.txt create mode 100644 templates/ktexteditor-plugin/src/Messages.sh diff --git a/.arcconfig b/.arcconfig new file mode 100644 index 0000000..932f28b --- /dev/null +++ b/.arcconfig @@ -0,0 +1,3 @@ +{ + "phabricator.uri" : "https://phabricator.kde.org/project/profile/47/" +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a35df38 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +*.kate-swp + +# Dolphin +.directory + +# kdevelop +.kdev4/ +ktexteditor.kdev4 diff --git a/.kateconfig b/.kateconfig new file mode 100644 index 0000000..6365ea0 --- /dev/null +++ b/.kateconfig @@ -0,0 +1 @@ +kate: indent-mode cstyle; indent-width 4; replace-tabs on; diff --git a/.kateproject b/.kateproject new file mode 100644 index 0000000..a740941 --- /dev/null +++ b/.kateproject @@ -0,0 +1,5 @@ +{ + "name": "KTextEditor Framework" + + , "files": [ { "git": 1 } ] +} diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..8b68102 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,131 @@ +cmake_minimum_required(VERSION 3.0) + +set(KF5_VERSION "5.51.0") # handled by release scripts +set(KF5_DEP_VERSION "5.51.0") # handled by release scripts +project(KTextEditor VERSION ${KF5_VERSION}) + +# ECM setup +include(FeatureSummary) +find_package(ECM 5.51.0 NO_MODULE) +set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules") +feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) + +# add own modules to search path, too +set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) + +include(ECMSetupVersion) +include(ECMGenerateHeaders) +include(CMakePackageConfigHelpers) +include(CheckFunctionExists) +include(CheckSymbolExists) +include(KDEInstallDirs) +include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) +include(KDECMakeSettings) +include(KDEPackageAppTemplates) +include(GenerateExportHeader) +include(ECMAddQch) +include(ECMQtDeclareLoggingCategory) + +option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) +add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") + +ecm_setup_version( + PROJECT + VARIABLE_PREFIX KTEXTEDITOR + VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/ktexteditor_version.h" + PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5TextEditorConfigVersion.cmake" + SOVERSION 5 +) + +# Dependencies +set(REQUIRED_QT_VERSION 5.8.0) + +# Required Qt5 components to build this framework +find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Widgets Qml + PrintSupport Xml) + +find_package(KF5Archive ${KF5_DEP_VERSION} REQUIRED) +find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) +find_package(KF5GuiAddons ${KF5_DEP_VERSION} REQUIRED) +find_package(KF5I18n ${KF5_DEP_VERSION} REQUIRED) +find_package(KF5KIO ${KF5_DEP_VERSION} REQUIRED) +find_package(KF5Parts ${KF5_DEP_VERSION} REQUIRED) +find_package(KF5Sonnet ${KF5_DEP_VERSION} REQUIRED) +find_package(KF5IconThemes ${KF5_DEP_VERSION} REQUIRED) +find_package(KF5SyntaxHighlighting ${KF5_DEP_VERSION} REQUIRED) + +# libgit2 integration, at least 0.22 with proper git_libgit2_init() +find_package(LibGit2 "0.22.0") + +# EditorConfig integration +find_package(EditorConfig) + +# vi mode on per default +option (BUILD_VIMODE "Build vimode in" ON) + +# Subdirectories +add_definitions(-DTRANSLATION_DOMAIN=\"ktexteditor5\") +if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") + ki18n_install(po) +endif() +add_definitions(-DQT_NO_CAST_FROM_ASCII) +add_definitions(-DQT_NO_CAST_TO_ASCII) +add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT) +add_definitions(-DQT_NO_URL_CAST_FROM_STRING) +add_definitions(-DQT_USE_QSTRINGBUILDER) + +add_subdirectory(src) +if (BUILD_TESTING) + add_subdirectory(autotests) +endif() +add_subdirectory(templates) + +# Create a Config.cmake and a ConfigVersion.cmake file and install them +set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5TextEditor") + +if (BUILD_QCH) + ecm_install_qch_export( + TARGETS KF5TextEditor_QCH + FILE KF5TextEditorQchTargets.cmake + DESTINATION "${CMAKECONFIG_INSTALL_DIR}" + COMPONENT Devel + ) + set(PACKAGE_INCLUDE_QCHTARGETS "include(\"\${CMAKE_CURRENT_LIST_DIR}/KF5TextEditorQchTargets.cmake\")") +endif() + +configure_package_config_file( + "${CMAKE_CURRENT_SOURCE_DIR}/KF5TextEditorConfig.cmake.in" + "${CMAKE_CURRENT_BINARY_DIR}/KF5TextEditorConfig.cmake" + INSTALL_DESTINATION "${CMAKECONFIG_INSTALL_DIR}" +) + +install(FILES + "${CMAKE_CURRENT_BINARY_DIR}/KF5TextEditorConfig.cmake" + "${CMAKE_CURRENT_BINARY_DIR}/KF5TextEditorConfigVersion.cmake" + DESTINATION "${CMAKECONFIG_INSTALL_DIR}" + COMPONENT Devel +) + +install(EXPORT + KF5TextEditorTargets + DESTINATION "${CMAKECONFIG_INSTALL_DIR}" + FILE KF5TextEditorTargets.cmake + NAMESPACE KF5:: +) + +install(FILES + "${CMAKE_CURRENT_BINARY_DIR}/ktexteditor_version.h" + DESTINATION "${KDE_INSTALL_INCLUDEDIR_KF5}" + COMPONENT Devel +) + +# config.h +check_symbol_exists (fdatasync unistd.h HAVE_FDATASYNC) +configure_file (config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h) + +# let our config.h be found first in any case +include_directories (BEFORE ${CMAKE_CURRENT_BINARY_DIR}) + +install(FILES ktexteditor.categories DESTINATION ${KDE_INSTALL_CONFDIR}) + +feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) diff --git a/COPYING.GPL-2 b/COPYING.GPL-2 new file mode 100644 index 0000000..d159169 --- /dev/null +++ b/COPYING.GPL-2 @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/COPYING.LGPL-2 b/COPYING.LGPL-2 new file mode 100644 index 0000000..5bc8fb2 --- /dev/null +++ b/COPYING.LGPL-2 @@ -0,0 +1,481 @@ + GNU LIBRARY GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is + numbered 2 because it goes with version 2 of the ordinary GPL.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Library General Public License, applies to some +specially designated Free Software Foundation software, and to any +other libraries whose authors decide to use it. You can use it for +your libraries, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if +you distribute copies of the library, or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link a program with the library, you must provide +complete object files to the recipients so that they can relink them +with the library, after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + Our method of protecting your rights has two steps: (1) copyright +the library, and (2) offer you this license which gives you legal +permission to copy, distribute and/or modify the library. + + Also, for each distributor's protection, we want to make certain +that everyone understands that there is no warranty for this free +library. If the library is modified by someone else and passed on, we +want its recipients to know that what they have is not the original +version, so that any problems introduced by others will not reflect on +the original authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that companies distributing free +software will individually obtain patent licenses, thus in effect +transforming the program into proprietary software. To prevent this, +we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + + Most GNU software, including some libraries, is covered by the ordinary +GNU General Public License, which was designed for utility programs. This +license, the GNU Library General Public License, applies to certain +designated libraries. This license is quite different from the ordinary +one; be sure to read it in full, and don't assume that anything in it is +the same as in the ordinary license. + + The reason we have a separate public license for some libraries is that +they blur the distinction we usually make between modifying or adding to a +program and simply using it. Linking a program with a library, without +changing the library, is in some sense simply using the library, and is +analogous to running a utility program or application program. However, in +a textual and legal sense, the linked executable is a combined work, a +derivative of the original library, and the ordinary General Public License +treats it as such. + + Because of this blurred distinction, using the ordinary General +Public License for libraries did not effectively promote software +sharing, because most developers did not use the libraries. We +concluded that weaker conditions might promote sharing better. + + However, unrestricted linking of non-free programs would deprive the +users of those programs of all benefit from the free status of the +libraries themselves. This Library General Public License is intended to +permit developers of non-free programs to use free libraries, while +preserving your freedom as a user of such programs to change the free +libraries that are incorporated in them. (We have not seen how to achieve +this as regards changes in header files, but we have achieved it as regards +changes in the actual functions of the Library.) The hope is that this +will lead to faster development of free libraries. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, while the latter only +works together with the library. + + Note that it is possible for a library to be covered by the ordinary +General Public License rather than by this special one. + + GNU LIBRARY GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library which +contains a notice placed by the copyright holder or other authorized +party saying it may be distributed under the terms of this Library +General Public License (also called "this License"). Each licensee is +addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also compile or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + c) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + d) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the source code distributed need not include anything that is normally +distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Library General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/COPYING.LIB b/COPYING.LIB new file mode 100644 index 0000000..2d2d780 --- /dev/null +++ b/COPYING.LIB @@ -0,0 +1,510 @@ + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations +below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it +becomes a de-facto standard. To achieve this, non-free programs must +be allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control +compilation and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at least + three years, to give the same user the materials specified in + Subsection 6a, above, for a charge no more than the cost of + performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply, and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License +may add an explicit geographical distribution limitation excluding those +countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms +of the ordinary General Public License). + + To apply these terms, attach the following notices to the library. +It is safest to attach them to the start of each source file to most +effectively convey the exclusion of warranty; and each file should +have at least the "copyright" line and a pointer to where the full +notice is found. + + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or +your school, if any, to sign a "copyright disclaimer" for the library, +if necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James + Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + diff --git a/ExtraDesktop.sh b/ExtraDesktop.sh new file mode 100644 index 0000000..0c46ec1 --- /dev/null +++ b/ExtraDesktop.sh @@ -0,0 +1,4 @@ +#! /bin/sh +#This file outputs in a separate line each file with a .desktop syntax +#that needs to be translated but has a non .desktop extension +find -name \*.kdevtemplate -print diff --git a/KF5TextEditorConfig.cmake.in b/KF5TextEditorConfig.cmake.in new file mode 100644 index 0000000..28d2c0f --- /dev/null +++ b/KF5TextEditorConfig.cmake.in @@ -0,0 +1,7 @@ +@PACKAGE_INIT@ + +# KF5 Deps +find_package(KF5Parts "@KF5_DEP_VERSION@") + +include("${CMAKE_CURRENT_LIST_DIR}/KF5TextEditorTargets.cmake") +@PACKAGE_INCLUDE_QCHTARGETS@ diff --git a/README.md b/README.md new file mode 100644 index 0000000..5250527 --- /dev/null +++ b/README.md @@ -0,0 +1,63 @@ +# KTextEditor + +Full text editor component + +## Introduction + +KTextEditor provides a powerful text editor component that you can embed in your +application, either as a KPart or using the KF5::TextEditor library (if you need +more control). + +The text editor component contains many useful features, from syntax +highlighting and automatic indentation to advanced scripting support, making it +suitable for everything from a simple embedded text-file editor to an advanced +IDE. + +## Usage + +### KPart + +As with other KParts, you should use KParts::MainWindow as your main window. +You can directly request "katepart", as in + + KService::Ptr service = KService::serviceByDesktopPath("katepart"); + if (service) { + m_part = service->createInstance(0); + } + +See the KParts documentation for more information on using KParts. + +### Library + +If you are using CMake, you need to have + + find_package(KF5TextEditor NO_MODULE) + +(or similar) in your CMakeLists.txt file, and you need to link to +KF5::TextEditor. + +After that, you can use KTextEditor::Editor to create an editor instance, and +use that to manage KTextEditor::Document instances. + + #include + #include + #include + + KTextEditor::Editor *editor = KTextEditor::Editor::instance(); + // create a new document + KTextEditor::Document *doc = editor->createDocument(this); + // create a widget to display the document + KTextEditor::View *view = doc->createView(containerWidget); + +See the documentation for these classes for more information. + +## Licensing + +Contributions to KTextEditor shall be licensed under LGPLv2+. + +## Further Documentation + +- @ref kte_design +- @ref kte_port_to_5 +- @ref kte_guidelines + diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt new file mode 100644 index 0000000..92f47d8 --- /dev/null +++ b/autotests/CMakeLists.txt @@ -0,0 +1,157 @@ +find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test) + +include(ECMMarkAsTest) +include(ECMAddTests) + +remove_definitions(-DQT_NO_CAST_FROM_ASCII) + +set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) + +include_directories( + # for config.h + ${CMAKE_BINARY_DIR} + + # for generated ktexteditor headers + ${CMAKE_BINARY_DIR}/src/include + + # for normal sources + ${CMAKE_SOURCE_DIR}/src + ${CMAKE_SOURCE_DIR}/src/include + ${CMAKE_SOURCE_DIR}/src/buffer + ${CMAKE_SOURCE_DIR}/src/completion + ${CMAKE_SOURCE_DIR}/src/dialogs + ${CMAKE_SOURCE_DIR}/src/document + ${CMAKE_SOURCE_DIR}/src/script + ${CMAKE_SOURCE_DIR}/src/mode + ${CMAKE_SOURCE_DIR}/src/render + ${CMAKE_SOURCE_DIR}/src/search + ${CMAKE_SOURCE_DIR}/src/syntax + ${CMAKE_SOURCE_DIR}/src/undo + ${CMAKE_SOURCE_DIR}/src/utils + ${CMAKE_SOURCE_DIR}/src/view +) + +add_definitions(-DTEST_DATA_DIR=\"${CMAKE_SOURCE_DIR}/autotests/input/\") +add_definitions(-DJS_DATA_DIR=\"${CMAKE_SOURCE_DIR}/src/script/data/\") + +set (KTEXTEDITOR_TEST_LINK_LIBS KF5TextEditor + KF5::I18n + KF5::IconThemes + KF5::GuiAddons + KF5::SyntaxHighlighting + Qt5::Qml +) + +include(ECMMarkAsTest) + +# test executable for encoding +add_executable(kateencodingtest src/kateencodingtest.cpp) +target_link_libraries(kateencodingtest ${KTEXTEDITOR_TEST_LINK_LIBS}) +ecm_mark_as_test(kateencodingtest) + +# test macro for encoding tests +MACRO(KTEXTEDITOR_ENCODING_TEST _encoding _testname) + ADD_TEST (NAME encoding_${_testname}_create COMMAND kateencodingtest ${_encoding} ${CMAKE_SOURCE_DIR}/autotests/input/encoding/${_testname} ${CMAKE_CURRENT_BINARY_DIR}/${_testname} ) + ADD_TEST (NAME encoding_${_testname}_diff COMMAND ${CMAKE_COMMAND} -E compare_files ${CMAKE_SOURCE_DIR}/autotests/input/encoding/${_testname} ${CMAKE_CURRENT_BINARY_DIR}/${_testname} ) +ENDMACRO(KTEXTEDITOR_ENCODING_TEST) + +# add tests + +# this file is utf-8, simple +KTEXTEDITOR_ENCODING_TEST ("utf-8" "utf8.txt") + +# this file is latin15, but fallback should work! +KTEXTEDITOR_ENCODING_TEST ("utf-8" "latin15.txt") + +# this file is utf32, little endian, but fallback should work! +KTEXTEDITOR_ENCODING_TEST ("utf-8" "utf32.txt") + +# this file is utf16, little endian, but fallback should work! +KTEXTEDITOR_ENCODING_TEST ("utf-8" "utf16.txt") + +# this file is utf32, big endian, but fallback should work! +KTEXTEDITOR_ENCODING_TEST ("utf-8" "utf32be.txt") + +# this file is utf16, big endian, but fallback should work! +KTEXTEDITOR_ENCODING_TEST ("utf-8" "utf16be.txt") + +# cyrillic utf-8 +KTEXTEDITOR_ENCODING_TEST ("utf-8" "cyrillic_utf8.txt") + +# cyrillic cp1251 +KTEXTEDITOR_ENCODING_TEST ("utf-8" "cp1251.txt") + +# cyrillic koi8-r +KTEXTEDITOR_ENCODING_TEST ("utf-8" "koi8-r.txt") + +# one character latin-15 test, segfaulted +KTEXTEDITOR_ENCODING_TEST ("utf-8" "one-char-latin-15.txt") + +# test executable for indentation +add_executable(kateindenttest src/indenttest.cpp src/script_test_base.cpp src/testutils.cpp) +target_link_libraries(kateindenttest ${KTEXTEDITOR_TEST_LINK_LIBS} + Qt5::Test) +ecm_mark_as_test(kateindenttest) + +# test macro for indentation tests +MACRO(KTEXTEDITOR_INDENT_TEST _testname) + ADD_TEST (NAME kateindenttest_${_testname} COMMAND kateindenttest ${_testname}) +ENDMACRO(KTEXTEDITOR_INDENT_TEST) + +# test different indenters sepearately to have smaller test chunks, that takes LONG +KTEXTEDITOR_INDENT_TEST ("testPython") +KTEXTEDITOR_INDENT_TEST ("testCstyle") +KTEXTEDITOR_INDENT_TEST ("testCppstyle") +KTEXTEDITOR_INDENT_TEST ("testCMake") +KTEXTEDITOR_INDENT_TEST ("testRuby") +KTEXTEDITOR_INDENT_TEST ("testHaskell") +KTEXTEDITOR_INDENT_TEST ("testLatex") +KTEXTEDITOR_INDENT_TEST ("testPascal") +KTEXTEDITOR_INDENT_TEST ("testAda") +KTEXTEDITOR_INDENT_TEST ("testXml") +KTEXTEDITOR_INDENT_TEST ("testNormal") +KTEXTEDITOR_INDENT_TEST ("testReplicode") + +macro(ktexteditor_unit_test testname) + ecm_add_test(src/${testname}.cpp ${ARGN} + TEST_NAME ${testname} + LINK_LIBRARIES ${KTEXTEDITOR_TEST_LINK_LIBS} Qt5::Test) +endmacro() + +ecm_add_tests( + src/katetextbuffertest.cpp + src/range_test.cpp + src/undomanager_test.cpp + src/plaintextsearch_test.cpp + src/regexpsearch_test.cpp + src/scriptdocument_test.cpp + src/wordcompletiontest.cpp + src/searchbar_test.cpp + src/movingcursor_test.cpp + src/configinterface_test.cpp + src/messagetest.cpp + src/kte_documentcursor.cpp + src/bug313769.cpp + src/katedocument_test.cpp + src/movingrange_test.cpp + src/kateview_test.cpp + src/revision_test.cpp + src/modificationsystem_test.cpp + src/inlinenote_test.cpp + src/templatehandler_test.cpp + src/katefoldingtest.cpp + src/bug286887.cpp + src/katewildcardmatcher_test.cpp + LINK_LIBRARIES ${KTEXTEDITOR_TEST_LINK_LIBS} Qt5::Test +) + +ktexteditor_unit_test(completion_test src/codecompletiontestmodel.cpp src/codecompletiontestmodels.cpp) +ktexteditor_unit_test(commands_test src/script_test_base.cpp src/testutils.cpp) +ktexteditor_unit_test(scripting_test src/script_test_base.cpp src/testutils.cpp) +ktexteditor_unit_test(bug313759 src/testutils.cpp) +ktexteditor_unit_test(bug317111 src/testutils.cpp) +ktexteditor_unit_test(bug205447 src/testutils.cpp) + +if (BUILD_VIMODE) + add_subdirectory(src/vimode) +endif() diff --git a/autotests/input/.gitignore b/autotests/input/.gitignore new file mode 100644 index 0000000..508061b --- /dev/null +++ b/autotests/input/.gitignore @@ -0,0 +1 @@ +actual diff --git a/autotests/input/bug205447.txt b/autotests/input/bug205447.txt new file mode 100644 index 0000000..b0d1270 --- /dev/null +++ b/autotests/input/bug205447.txt @@ -0,0 +1 @@ +𝐽 a 𝐽a 𝐽𝐽 a𝐽 aa a𝐽a 𝐽a𝐽 diff --git a/autotests/input/bug311866.cpp b/autotests/input/bug311866.cpp new file mode 100644 index 0000000..d9b7412 --- /dev/null +++ b/autotests/input/bug311866.cpp @@ -0,0 +1,6 @@ +int main() +{ + int this_line_is_safe=1; + int that_line_will_cause_havoc=1; +} + diff --git a/autotests/input/bug313759.js b/autotests/input/bug313759.js new file mode 100644 index 0000000..efaeb25 --- /dev/null +++ b/autotests/input/bug313759.js @@ -0,0 +1,10 @@ +view.setCursorPosition(0, 0); +var count = document.lines() - 3; +for (var i = 0; i < count; ++i) + moveLinesDown(); +for (var i = 0; i < count; ++i) + moveLinesUp(); +for (var i = 0; i < count; ++i) + moveLinesDown(); +//for (var i = 0; i < count; ++i) +// moveLinesUp(); diff --git a/autotests/input/bug313759.txt b/autotests/input/bug313759.txt new file mode 100644 index 0000000..8836135 --- /dev/null +++ b/autotests/input/bug313759.txt @@ -0,0 +1,503 @@ +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxx + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/autotests/input/bug313769.cpp b/autotests/input/bug313769.cpp new file mode 100644 index 0000000..95387d1 --- /dev/null +++ b/autotests/input/bug313769.cpp @@ -0,0 +1,74 @@ +/* This file is part of the KDE libraries + Copyright (C) 1999 Jochen Wilhelmy +*/ +//BEGIN includes +#include "kateview.h" +#include "kateview.moc" + +//#define VIEW_RANGE_DEBUG + +//END includes + +void KateView::blockFix(KTextEditor::Range& range) +{ + if (range.start().column() > range.end().column()) + { + int tmp = range.start().column(); + range.start().setColumn(range.end().column()); + range.end().setColumn(tmp); + } +} + +KateView::KateView( KateDocument *doc, QWidget *parent ) +{ + setComponentData ( KateGlobal::self()->componentData () ); + + // selection if for this view only and will invalidate if becoming empty + m_selection.setView (this); + + // use z depth defined in moving ranges interface + m_selection.setZDepth (-100000.0); + + KateGlobal::self()->registerView( this ); + + KTextEditor::ViewBarContainer *viewBarContainer=qobject_cast( KateGlobal::self()->container() ); + QWidget *bottomBarParent=viewBarContainer?viewBarContainer->getViewBarParent(this,KTextEditor::ViewBarContainer::BottomBar):0; + QWidget *topBarParent=viewBarContainer?viewBarContainer->getViewBarParent(this,KTextEditor::ViewBarContainer::TopBar):0; + + m_bottomViewBar=new KateViewBar (bottomBarParent!=0,KTextEditor::ViewBarContainer::BottomBar,bottomBarParent?bottomBarParent:this,this); + m_topViewBar=new KateViewBar (topBarParent!=0,KTextEditor::ViewBarContainer::TopBar,topBarParent?topBarParent:this,this); + + // ugly workaround: + // Force the layout to be left-to-right even on RTL deskstop, as discussed + // on the mailing list. This will cause the lines and icons panel to be on + // the left, even for Arabic/Hebrew/Farsi/whatever users. + setLayoutDirection ( Qt::LeftToRight ); + + // layouting ;) + m_vBox = new QVBoxLayout (this); + m_vBox->setMargin (0); + m_vBox->setSpacing (0); + + // add top viewbar... + if (topBarParent) + viewBarContainer->addViewBarToLayout(this,m_topViewBar,KTextEditor::ViewBarContainer::TopBar); + else + m_vBox->addWidget(m_topViewBar); + + m_bottomViewBar->installEventFilter(m_viewInternal); + + // add KateMessageWidget for KTE::MessageInterface immediately above view + m_topMessageWidget = new KateMessageWidget(this); + m_vBox->addWidget(m_topMessageWidget); + m_topMessageWidget->hide(); + + // add hbox: KateIconBorder | KateViewInternal | KateScrollBar + QHBoxLayout *hbox = new QHBoxLayout (); + m_vBox->addLayout (hbox, 100); + hbox->setMargin (0); + hbox->setSpacing (0); + + QStyleOption option; + option.initFrom(this); + + if (style()->styleHint(QStyle::SH_ScrollView_FrameOnlyAroundContents, &option, this)) { diff --git a/autotests/input/bug317111.js b/autotests/input/bug317111.js new file mode 100644 index 0000000..fdc6339 --- /dev/null +++ b/autotests/input/bug317111.js @@ -0,0 +1,5 @@ +document.defStyleNum(-1,0); +document.defStyleNum(0,-1); +document.defStyleNum(1000,0); +document.defStyleNum(0,1000); +document.defStyleNum(0,0); diff --git a/autotests/input/bug317111.txt b/autotests/input/bug317111.txt new file mode 100644 index 0000000..286417c --- /dev/null +++ b/autotests/input/bug317111.txt @@ -0,0 +1 @@ +// kate: hl C++ diff --git a/autotests/input/commands/utils/bug_309977_a/README b/autotests/input/commands/utils/bug_309977_a/README new file mode 100644 index 0000000..d5cae0c --- /dev/null +++ b/autotests/input/commands/utils/bug_309977_a/README @@ -0,0 +1 @@ +Tests if it is possible to move a line to the last line of the document (if the last line is empty). diff --git a/autotests/input/commands/utils/bug_309977_a/expected b/autotests/input/commands/utils/bug_309977_a/expected new file mode 100644 index 0000000..f9ecc93 --- /dev/null +++ b/autotests/input/commands/utils/bug_309977_a/expected @@ -0,0 +1,3 @@ + + +X diff --git a/autotests/input/commands/utils/bug_309977_a/input.js b/autotests/input/commands/utils/bug_309977_a/input.js new file mode 100644 index 0000000..e87d4cc --- /dev/null +++ b/autotests/input/commands/utils/bug_309977_a/input.js @@ -0,0 +1,2 @@ +v.setCursorPosition(1, 0); +moveLinesDown(); diff --git a/autotests/input/commands/utils/bug_309977_a/origin b/autotests/input/commands/utils/bug_309977_a/origin new file mode 100644 index 0000000..dad8342 --- /dev/null +++ b/autotests/input/commands/utils/bug_309977_a/origin @@ -0,0 +1,2 @@ + +X diff --git a/autotests/input/commands/utils/bug_309977_b/README b/autotests/input/commands/utils/bug_309977_b/README new file mode 100644 index 0000000..48e2eac --- /dev/null +++ b/autotests/input/commands/utils/bug_309977_b/README @@ -0,0 +1 @@ +Tests if it is possible to move a line to the last line of the document (if the last line is not empty). diff --git a/autotests/input/commands/utils/bug_309977_b/expected b/autotests/input/commands/utils/bug_309977_b/expected new file mode 100644 index 0000000..a1d0ff9 --- /dev/null +++ b/autotests/input/commands/utils/bug_309977_b/expected @@ -0,0 +1,3 @@ +1 +3 +2 diff --git a/autotests/input/commands/utils/bug_309977_b/input.js b/autotests/input/commands/utils/bug_309977_b/input.js new file mode 100644 index 0000000..e87d4cc --- /dev/null +++ b/autotests/input/commands/utils/bug_309977_b/input.js @@ -0,0 +1,2 @@ +v.setCursorPosition(1, 0); +moveLinesDown(); diff --git a/autotests/input/commands/utils/bug_309977_b/origin b/autotests/input/commands/utils/bug_309977_b/origin new file mode 100644 index 0000000..5f5fbe7 --- /dev/null +++ b/autotests/input/commands/utils/bug_309977_b/origin @@ -0,0 +1,3 @@ +1 +2 +3 \ No newline at end of file diff --git a/autotests/input/commands/utils/bug_309978/expected b/autotests/input/commands/utils/bug_309978/expected new file mode 100644 index 0000000..966a098 --- /dev/null +++ b/autotests/input/commands/utils/bug_309978/expected @@ -0,0 +1,4 @@ +2 +3 +4 +1 diff --git a/autotests/input/commands/utils/bug_309978/input.js b/autotests/input/commands/utils/bug_309978/input.js new file mode 100644 index 0000000..85d7578 --- /dev/null +++ b/autotests/input/commands/utils/bug_309978/input.js @@ -0,0 +1,3 @@ +view.setSelection(new Range(0, 0, 0, 1)); +for (var i=0; i < 3; ++i) + moveLinesDown(); diff --git a/autotests/input/commands/utils/bug_309978/origin b/autotests/input/commands/utils/bug_309978/origin new file mode 100644 index 0000000..94ebaf9 --- /dev/null +++ b/autotests/input/commands/utils/bug_309978/origin @@ -0,0 +1,4 @@ +1 +2 +3 +4 diff --git a/autotests/input/commands/utils/bug_309980/expected b/autotests/input/commands/utils/bug_309980/expected new file mode 100644 index 0000000..4e5dc90 --- /dev/null +++ b/autotests/input/commands/utils/bug_309980/expected @@ -0,0 +1,4 @@ +1 +1 + +3 diff --git a/autotests/input/commands/utils/bug_309980/input.js b/autotests/input/commands/utils/bug_309980/input.js new file mode 100644 index 0000000..774b5b0 --- /dev/null +++ b/autotests/input/commands/utils/bug_309980/input.js @@ -0,0 +1,2 @@ +view.setSelection(new Range(0, 0, 1, 0)); +duplicateLinesDown(); diff --git a/autotests/input/commands/utils/bug_309980/origin b/autotests/input/commands/utils/bug_309980/origin new file mode 100644 index 0000000..00fcfba --- /dev/null +++ b/autotests/input/commands/utils/bug_309980/origin @@ -0,0 +1,3 @@ +1 + +3 \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_down_1/expected b/autotests/input/commands/utils/duplicate_down_1/expected new file mode 100644 index 0000000..1ebac96 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_1/expected @@ -0,0 +1,4 @@ +1 +x +x +2 diff --git a/autotests/input/commands/utils/duplicate_down_1/input.js b/autotests/input/commands/utils/duplicate_down_1/input.js new file mode 100644 index 0000000..8d2ba4b --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_1/input.js @@ -0,0 +1,2 @@ +v.setCursorPosition(1, 0); +duplicateLinesDown(); diff --git a/autotests/input/commands/utils/duplicate_down_1/origin b/autotests/input/commands/utils/duplicate_down_1/origin new file mode 100644 index 0000000..2d07937 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_1/origin @@ -0,0 +1,3 @@ +1 +x +2 diff --git a/autotests/input/commands/utils/duplicate_down_2/expected b/autotests/input/commands/utils/duplicate_down_2/expected new file mode 100644 index 0000000..c523e32 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_2/expected @@ -0,0 +1,3 @@ +1 +Duplicate last line of document down +Duplicate last line of document down diff --git a/autotests/input/commands/utils/duplicate_down_2/input.js b/autotests/input/commands/utils/duplicate_down_2/input.js new file mode 100644 index 0000000..8d2ba4b --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_2/input.js @@ -0,0 +1,2 @@ +v.setCursorPosition(1, 0); +duplicateLinesDown(); diff --git a/autotests/input/commands/utils/duplicate_down_2/origin b/autotests/input/commands/utils/duplicate_down_2/origin new file mode 100644 index 0000000..d0c7a93 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_2/origin @@ -0,0 +1,2 @@ +1 +Duplicate last line of document down \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_down_3/README b/autotests/input/commands/utils/duplicate_down_3/README new file mode 100644 index 0000000..5a1cfb1 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_3/README @@ -0,0 +1 @@ +test if after duplicating a line down the lower line has the cursor in it diff --git a/autotests/input/commands/utils/duplicate_down_3/expected b/autotests/input/commands/utils/duplicate_down_3/expected new file mode 100644 index 0000000..6cb5636 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_3/expected @@ -0,0 +1,4 @@ +1 +X +2 +X diff --git a/autotests/input/commands/utils/duplicate_down_3/input.js b/autotests/input/commands/utils/duplicate_down_3/input.js new file mode 100644 index 0000000..50acc41 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_3/input.js @@ -0,0 +1,3 @@ +v.setCursorPosition(1, 0); +duplicateLinesDown(); +moveLinesDown(); diff --git a/autotests/input/commands/utils/duplicate_down_3/origin b/autotests/input/commands/utils/duplicate_down_3/origin new file mode 100644 index 0000000..c48d195 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_3/origin @@ -0,0 +1,3 @@ +1 +X +2 diff --git a/autotests/input/commands/utils/duplicate_down_bottom/expected b/autotests/input/commands/utils/duplicate_down_bottom/expected new file mode 100644 index 0000000..4e17ffa --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_bottom/expected @@ -0,0 +1,3 @@ +1 +d +d diff --git a/autotests/input/commands/utils/duplicate_down_bottom/input.js b/autotests/input/commands/utils/duplicate_down_bottom/input.js new file mode 100644 index 0000000..8d2ba4b --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_bottom/input.js @@ -0,0 +1,2 @@ +v.setCursorPosition(1, 0); +duplicateLinesDown(); diff --git a/autotests/input/commands/utils/duplicate_down_bottom/origin b/autotests/input/commands/utils/duplicate_down_bottom/origin new file mode 100644 index 0000000..289c9e8 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_bottom/origin @@ -0,0 +1,2 @@ +1 +d \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_down_selection_1/README b/autotests/input/commands/utils/duplicate_down_selection_1/README new file mode 100644 index 0000000..6b50d8d --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_1/README @@ -0,0 +1 @@ +Test if the selection is adjusted correctly when duplicating down. \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_down_selection_1/expected b/autotests/input/commands/utils/duplicate_down_selection_1/expected new file mode 100644 index 0000000..51459e5 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_1/expected @@ -0,0 +1,5 @@ +1 +2 +2 +3 +PASS diff --git a/autotests/input/commands/utils/duplicate_down_selection_1/input.js b/autotests/input/commands/utils/duplicate_down_selection_1/input.js new file mode 100644 index 0000000..bc7a035 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_1/input.js @@ -0,0 +1,8 @@ +view.setSelection(new Range(1, 0, 2, 0)); +duplicateLinesDown(); +var s = view.selection(); +if (s.start.line == 2 && s.start.column == 0 && s.end.line == 3 && s.end.column == 0) { + view.clearSelection(); + view.setCursorPosition(4, 0); + view.type("PASS"); +} \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_down_selection_1/origin b/autotests/input/commands/utils/duplicate_down_selection_1/origin new file mode 100644 index 0000000..01e79c3 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_1/origin @@ -0,0 +1,3 @@ +1 +2 +3 diff --git a/autotests/input/commands/utils/duplicate_down_selection_2/README b/autotests/input/commands/utils/duplicate_down_selection_2/README new file mode 100644 index 0000000..8e21f0b --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_2/README @@ -0,0 +1 @@ +Test if the selection is kept correctly when duplicating down. \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_down_selection_2/expected b/autotests/input/commands/utils/duplicate_down_selection_2/expected new file mode 100644 index 0000000..6636786 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_2/expected @@ -0,0 +1,5 @@ +1 +2sx +2sx +3 +PASS diff --git a/autotests/input/commands/utils/duplicate_down_selection_2/input.js b/autotests/input/commands/utils/duplicate_down_selection_2/input.js new file mode 100644 index 0000000..964adf6 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_2/input.js @@ -0,0 +1,8 @@ +view.setSelection(new Range(1, 1, 1, 2)); +duplicateLinesDown(); +var s = view.selection(); +if (s.start.line == 2 && s.start.column == 1 && s.end.line == 2 && s.end.column == 2) { + view.clearSelection(); + view.setCursorPosition(4, 0); + view.type("PASS"); +} \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_down_selection_2/origin b/autotests/input/commands/utils/duplicate_down_selection_2/origin new file mode 100644 index 0000000..a9a70c8 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_2/origin @@ -0,0 +1,4 @@ +1 +2sx +3 + diff --git a/autotests/input/commands/utils/duplicate_down_selection_3/expected b/autotests/input/commands/utils/duplicate_down_selection_3/expected new file mode 100644 index 0000000..8730023 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_3/expected @@ -0,0 +1,9 @@ +Test if the selection is set correctly when duplicating down. +1 +2 +3 +1 +2 +3 +4 +PASS diff --git a/autotests/input/commands/utils/duplicate_down_selection_3/input.js b/autotests/input/commands/utils/duplicate_down_selection_3/input.js new file mode 100644 index 0000000..2f35b78 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_3/input.js @@ -0,0 +1,8 @@ +view.setSelection(new Range(1, 0, 3, 1)); +duplicateLinesDown(); +var s = view.selection(); +if (s.start.line == 4 && s.start.column == 0 && s.end.line == 6 && s.end.column == 1) { + view.clearSelection(); + view.setCursorPosition(8, 0); + view.type("PASS"); +} \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_down_selection_3/origin b/autotests/input/commands/utils/duplicate_down_selection_3/origin new file mode 100644 index 0000000..d5f919d --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_3/origin @@ -0,0 +1,6 @@ +Test if the selection is set correctly when duplicating down. +1 +2 +3 +4 + diff --git a/autotests/input/commands/utils/duplicate_down_selection_4/expected b/autotests/input/commands/utils/duplicate_down_selection_4/expected new file mode 100644 index 0000000..8730023 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_4/expected @@ -0,0 +1,9 @@ +Test if the selection is set correctly when duplicating down. +1 +2 +3 +1 +2 +3 +4 +PASS diff --git a/autotests/input/commands/utils/duplicate_down_selection_4/input.js b/autotests/input/commands/utils/duplicate_down_selection_4/input.js new file mode 100644 index 0000000..f21ab4e --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_4/input.js @@ -0,0 +1,8 @@ +view.setSelection(new Range(1, 0, 4, 0)); +duplicateLinesDown(); +var s = view.selection(); +if (s.start.line == 4 && s.start.column == 0 && s.end.line == 7 && s.end.column == 0) { + view.clearSelection(); + view.setCursorPosition(8, 0); + view.type("PASS"); +} \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_down_selection_4/origin b/autotests/input/commands/utils/duplicate_down_selection_4/origin new file mode 100644 index 0000000..d5f919d --- /dev/null +++ b/autotests/input/commands/utils/duplicate_down_selection_4/origin @@ -0,0 +1,6 @@ +Test if the selection is set correctly when duplicating down. +1 +2 +3 +4 + diff --git a/autotests/input/commands/utils/duplicate_up_1/expected b/autotests/input/commands/utils/duplicate_up_1/expected new file mode 100644 index 0000000..1ebac96 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_1/expected @@ -0,0 +1,4 @@ +1 +x +x +2 diff --git a/autotests/input/commands/utils/duplicate_up_1/input.js b/autotests/input/commands/utils/duplicate_up_1/input.js new file mode 100644 index 0000000..4c6b773 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_1/input.js @@ -0,0 +1,2 @@ +v.setCursorPosition(1, 0); +duplicateLinesUp(); diff --git a/autotests/input/commands/utils/duplicate_up_1/origin b/autotests/input/commands/utils/duplicate_up_1/origin new file mode 100644 index 0000000..2d07937 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_1/origin @@ -0,0 +1,3 @@ +1 +x +2 diff --git a/autotests/input/commands/utils/duplicate_up_2/expected b/autotests/input/commands/utils/duplicate_up_2/expected new file mode 100644 index 0000000..1440556 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_2/expected @@ -0,0 +1,3 @@ +Duplicate first line of document up +Duplicate first line of document up +2 diff --git a/autotests/input/commands/utils/duplicate_up_2/input.js b/autotests/input/commands/utils/duplicate_up_2/input.js new file mode 100644 index 0000000..e464c4d --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_2/input.js @@ -0,0 +1,2 @@ +view.setCursorPosition(0, 0); +duplicateLinesUp(); diff --git a/autotests/input/commands/utils/duplicate_up_2/origin b/autotests/input/commands/utils/duplicate_up_2/origin new file mode 100644 index 0000000..d056cb9 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_2/origin @@ -0,0 +1,2 @@ +Duplicate first line of document up +2 diff --git a/autotests/input/commands/utils/duplicate_up_3/README b/autotests/input/commands/utils/duplicate_up_3/README new file mode 100644 index 0000000..bcccecb --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_3/README @@ -0,0 +1 @@ +test if after duplicating a line up the upper line has the cursor in it diff --git a/autotests/input/commands/utils/duplicate_up_3/expected b/autotests/input/commands/utils/duplicate_up_3/expected new file mode 100644 index 0000000..0e4318e --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_3/expected @@ -0,0 +1,4 @@ +X +1 +X +2 diff --git a/autotests/input/commands/utils/duplicate_up_3/input.js b/autotests/input/commands/utils/duplicate_up_3/input.js new file mode 100644 index 0000000..069409e --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_3/input.js @@ -0,0 +1,3 @@ +v.setCursorPosition(1, 0); +duplicateLinesUp(); +moveLinesUp(); diff --git a/autotests/input/commands/utils/duplicate_up_3/origin b/autotests/input/commands/utils/duplicate_up_3/origin new file mode 100644 index 0000000..c48d195 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_3/origin @@ -0,0 +1,3 @@ +1 +X +2 diff --git a/autotests/input/commands/utils/duplicate_up_bottom/expected b/autotests/input/commands/utils/duplicate_up_bottom/expected new file mode 100644 index 0000000..4e17ffa --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_bottom/expected @@ -0,0 +1,3 @@ +1 +d +d diff --git a/autotests/input/commands/utils/duplicate_up_bottom/input.js b/autotests/input/commands/utils/duplicate_up_bottom/input.js new file mode 100644 index 0000000..4c6b773 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_bottom/input.js @@ -0,0 +1,2 @@ +v.setCursorPosition(1, 0); +duplicateLinesUp(); diff --git a/autotests/input/commands/utils/duplicate_up_bottom/origin b/autotests/input/commands/utils/duplicate_up_bottom/origin new file mode 100644 index 0000000..289c9e8 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_bottom/origin @@ -0,0 +1,2 @@ +1 +d \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_up_selection_1/README b/autotests/input/commands/utils/duplicate_up_selection_1/README new file mode 100644 index 0000000..aa61356 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_selection_1/README @@ -0,0 +1 @@ +Test if the selection is kept correctly when duplicating up. \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_up_selection_1/expected b/autotests/input/commands/utils/duplicate_up_selection_1/expected new file mode 100644 index 0000000..51459e5 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_selection_1/expected @@ -0,0 +1,5 @@ +1 +2 +2 +3 +PASS diff --git a/autotests/input/commands/utils/duplicate_up_selection_1/input.js b/autotests/input/commands/utils/duplicate_up_selection_1/input.js new file mode 100644 index 0000000..f88193d --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_selection_1/input.js @@ -0,0 +1,8 @@ +view.setSelection(new Range(1, 0, 2, 0)); +duplicateLinesUp(); +var s = view.selection(); +if (s.start.line == 1 && s.start.column == 0 && s.end.line == 2 && s.end.column == 0) { + view.clearSelection(); + view.setCursorPosition(4, 0); + view.type("PASS"); +} \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_up_selection_1/origin b/autotests/input/commands/utils/duplicate_up_selection_1/origin new file mode 100644 index 0000000..01e79c3 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_selection_1/origin @@ -0,0 +1,3 @@ +1 +2 +3 diff --git a/autotests/input/commands/utils/duplicate_up_selection_2/README b/autotests/input/commands/utils/duplicate_up_selection_2/README new file mode 100644 index 0000000..aa61356 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_selection_2/README @@ -0,0 +1 @@ +Test if the selection is kept correctly when duplicating up. \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_up_selection_2/expected b/autotests/input/commands/utils/duplicate_up_selection_2/expected new file mode 100644 index 0000000..6636786 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_selection_2/expected @@ -0,0 +1,5 @@ +1 +2sx +2sx +3 +PASS diff --git a/autotests/input/commands/utils/duplicate_up_selection_2/input.js b/autotests/input/commands/utils/duplicate_up_selection_2/input.js new file mode 100644 index 0000000..8edc4da --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_selection_2/input.js @@ -0,0 +1,8 @@ +view.setSelection(new Range(1, 1, 1, 2)); +duplicateLinesUp(); +var s = view.selection(); +if (s.start.line == 1 && s.start.column == 1 && s.end.line == 1 && s.end.column == 2) { + view.clearSelection(); + view.setCursorPosition(4, 0); + view.type("PASS"); +} \ No newline at end of file diff --git a/autotests/input/commands/utils/duplicate_up_selection_2/origin b/autotests/input/commands/utils/duplicate_up_selection_2/origin new file mode 100644 index 0000000..a9a70c8 --- /dev/null +++ b/autotests/input/commands/utils/duplicate_up_selection_2/origin @@ -0,0 +1,4 @@ +1 +2sx +3 + diff --git a/autotests/input/commands/utils/move_down_1/expected b/autotests/input/commands/utils/move_down_1/expected new file mode 100644 index 0000000..b52e52d --- /dev/null +++ b/autotests/input/commands/utils/move_down_1/expected @@ -0,0 +1,3 @@ +2 +1 +3 diff --git a/autotests/input/commands/utils/move_down_1/input.js b/autotests/input/commands/utils/move_down_1/input.js new file mode 100644 index 0000000..a16f57d --- /dev/null +++ b/autotests/input/commands/utils/move_down_1/input.js @@ -0,0 +1,2 @@ +v.setCursorPosition(0, 0); +moveLinesDown(); diff --git a/autotests/input/commands/utils/move_down_1/origin b/autotests/input/commands/utils/move_down_1/origin new file mode 100644 index 0000000..01e79c3 --- /dev/null +++ b/autotests/input/commands/utils/move_down_1/origin @@ -0,0 +1,3 @@ +1 +2 +3 diff --git a/autotests/input/commands/utils/move_down_bottom/README b/autotests/input/commands/utils/move_down_bottom/README new file mode 100644 index 0000000..6af5ab2 --- /dev/null +++ b/autotests/input/commands/utils/move_down_bottom/README @@ -0,0 +1 @@ +Test that moving lines beyond the end of the document is not possible. diff --git a/autotests/input/commands/utils/move_down_bottom/expected b/autotests/input/commands/utils/move_down_bottom/expected new file mode 100644 index 0000000..5f1d0ec --- /dev/null +++ b/autotests/input/commands/utils/move_down_bottom/expected @@ -0,0 +1,2 @@ +2 +1 diff --git a/autotests/input/commands/utils/move_down_bottom/input.js b/autotests/input/commands/utils/move_down_bottom/input.js new file mode 100644 index 0000000..85c5b35 --- /dev/null +++ b/autotests/input/commands/utils/move_down_bottom/input.js @@ -0,0 +1,4 @@ +v.setCursorPosition(0, 0); +moveLinesDown(); +moveLinesDown(); +moveLinesDown(); diff --git a/autotests/input/commands/utils/move_down_bottom/origin b/autotests/input/commands/utils/move_down_bottom/origin new file mode 100644 index 0000000..7a754f4 --- /dev/null +++ b/autotests/input/commands/utils/move_down_bottom/origin @@ -0,0 +1,2 @@ +1 +2 \ No newline at end of file diff --git a/autotests/input/commands/utils/move_down_selection_1/README b/autotests/input/commands/utils/move_down_selection_1/README new file mode 100644 index 0000000..3da1413 --- /dev/null +++ b/autotests/input/commands/utils/move_down_selection_1/README @@ -0,0 +1 @@ +Test if the selection is adjusted correctly when moved down. \ No newline at end of file diff --git a/autotests/input/commands/utils/move_down_selection_1/expected b/autotests/input/commands/utils/move_down_selection_1/expected new file mode 100644 index 0000000..6a2fc1e --- /dev/null +++ b/autotests/input/commands/utils/move_down_selection_1/expected @@ -0,0 +1,5 @@ +1 +3 +4 +2 +PASS diff --git a/autotests/input/commands/utils/move_down_selection_1/input.js b/autotests/input/commands/utils/move_down_selection_1/input.js new file mode 100644 index 0000000..5845fbe --- /dev/null +++ b/autotests/input/commands/utils/move_down_selection_1/input.js @@ -0,0 +1,9 @@ +view.setSelection(new Range(1, 0, 2, 0)); +moveLinesDown(); +moveLinesDown(); +var s = view.selection(); +if (s.start.line == 3 && s.start.column == 0 && s.end.line == 4 && s.end.column == 0) { + view.clearSelection(); + view.setCursorPosition(4, 0); + view.type("PASS"); +} \ No newline at end of file diff --git a/autotests/input/commands/utils/move_down_selection_1/origin b/autotests/input/commands/utils/move_down_selection_1/origin new file mode 100644 index 0000000..94ebaf9 --- /dev/null +++ b/autotests/input/commands/utils/move_down_selection_1/origin @@ -0,0 +1,4 @@ +1 +2 +3 +4 diff --git a/autotests/input/commands/utils/move_down_selection_2/README b/autotests/input/commands/utils/move_down_selection_2/README new file mode 100644 index 0000000..9b4c77d --- /dev/null +++ b/autotests/input/commands/utils/move_down_selection_2/README @@ -0,0 +1 @@ +Test if the selection is kept correctly when moved down. \ No newline at end of file diff --git a/autotests/input/commands/utils/move_down_selection_2/expected b/autotests/input/commands/utils/move_down_selection_2/expected new file mode 100644 index 0000000..8a20ffb --- /dev/null +++ b/autotests/input/commands/utils/move_down_selection_2/expected @@ -0,0 +1,4 @@ +2 +3 +1S +PASS diff --git a/autotests/input/commands/utils/move_down_selection_2/input.js b/autotests/input/commands/utils/move_down_selection_2/input.js new file mode 100644 index 0000000..4c91758 --- /dev/null +++ b/autotests/input/commands/utils/move_down_selection_2/input.js @@ -0,0 +1,8 @@ +view.setSelection(new Range(0, 1, 0, 2)); +moveLinesDown(); +moveLinesDown(); +if (view.selectedText() == "S") { + view.clearSelection(); + view.setCursorPosition(3, 0); + view.type("PASS"); +} \ No newline at end of file diff --git a/autotests/input/commands/utils/move_down_selection_2/origin b/autotests/input/commands/utils/move_down_selection_2/origin new file mode 100644 index 0000000..c8d3375 --- /dev/null +++ b/autotests/input/commands/utils/move_down_selection_2/origin @@ -0,0 +1,3 @@ +1S +2 +3 diff --git a/autotests/input/commands/utils/move_up_1/expected b/autotests/input/commands/utils/move_up_1/expected new file mode 100644 index 0000000..a1d0ff9 --- /dev/null +++ b/autotests/input/commands/utils/move_up_1/expected @@ -0,0 +1,3 @@ +1 +3 +2 diff --git a/autotests/input/commands/utils/move_up_1/input.js b/autotests/input/commands/utils/move_up_1/input.js new file mode 100644 index 0000000..bf35f46 --- /dev/null +++ b/autotests/input/commands/utils/move_up_1/input.js @@ -0,0 +1,2 @@ +v.setCursorPosition(2, 0); +moveLinesUp(); diff --git a/autotests/input/commands/utils/move_up_1/origin b/autotests/input/commands/utils/move_up_1/origin new file mode 100644 index 0000000..01e79c3 --- /dev/null +++ b/autotests/input/commands/utils/move_up_1/origin @@ -0,0 +1,3 @@ +1 +2 +3 diff --git a/autotests/input/commands/utils/move_up_selection_1/README b/autotests/input/commands/utils/move_up_selection_1/README new file mode 100644 index 0000000..6fd82be --- /dev/null +++ b/autotests/input/commands/utils/move_up_selection_1/README @@ -0,0 +1 @@ +Test if the selection is kept correctly when moved up. \ No newline at end of file diff --git a/autotests/input/commands/utils/move_up_selection_1/expected b/autotests/input/commands/utils/move_up_selection_1/expected new file mode 100644 index 0000000..a70460e --- /dev/null +++ b/autotests/input/commands/utils/move_up_selection_1/expected @@ -0,0 +1,4 @@ +3 +1 +2 +PASS diff --git a/autotests/input/commands/utils/move_up_selection_1/input.js b/autotests/input/commands/utils/move_up_selection_1/input.js new file mode 100644 index 0000000..1c63552 --- /dev/null +++ b/autotests/input/commands/utils/move_up_selection_1/input.js @@ -0,0 +1,9 @@ +view.setSelection(new Range(2, 0, 3, 0)); +moveLinesUp(); +moveLinesUp(); +var s = view.selection(); +if (s.start.line == 0 && s.start.column == 0 && s.end.line == 1 && s.end.column == 0) { + view.clearSelection(); + view.setCursorPosition(3, 0); + view.type("PASS"); +} \ No newline at end of file diff --git a/autotests/input/commands/utils/move_up_selection_1/origin b/autotests/input/commands/utils/move_up_selection_1/origin new file mode 100644 index 0000000..01e79c3 --- /dev/null +++ b/autotests/input/commands/utils/move_up_selection_1/origin @@ -0,0 +1,3 @@ +1 +2 +3 diff --git a/autotests/input/commands/utils/move_up_selection_2/README b/autotests/input/commands/utils/move_up_selection_2/README new file mode 100644 index 0000000..6fd82be --- /dev/null +++ b/autotests/input/commands/utils/move_up_selection_2/README @@ -0,0 +1 @@ +Test if the selection is kept correctly when moved up. \ No newline at end of file diff --git a/autotests/input/commands/utils/move_up_selection_2/expected b/autotests/input/commands/utils/move_up_selection_2/expected new file mode 100644 index 0000000..ad2112d --- /dev/null +++ b/autotests/input/commands/utils/move_up_selection_2/expected @@ -0,0 +1,4 @@ +3S +1 +2 +PASS diff --git a/autotests/input/commands/utils/move_up_selection_2/input.js b/autotests/input/commands/utils/move_up_selection_2/input.js new file mode 100644 index 0000000..3ac4ac8 --- /dev/null +++ b/autotests/input/commands/utils/move_up_selection_2/input.js @@ -0,0 +1,8 @@ +view.setSelection(new Range(2, 1, 2, 2)); +moveLinesUp(); +moveLinesUp(); +if (view.selectedText() == "S") { + view.clearSelection(); + view.setCursorPosition(3, 0); + view.type("PASS"); +} \ No newline at end of file diff --git a/autotests/input/commands/utils/move_up_selection_2/origin b/autotests/input/commands/utils/move_up_selection_2/origin new file mode 100644 index 0000000..198e361 --- /dev/null +++ b/autotests/input/commands/utils/move_up_selection_2/origin @@ -0,0 +1,3 @@ +1 +2 +3S diff --git a/autotests/input/encoding/cp1251.txt b/autotests/input/encoding/cp1251.txt new file mode 100644 index 0000000..eaac632 --- /dev/null +++ b/autotests/input/encoding/cp1251.txt @@ -0,0 +1,2 @@ +Testing +Òåñòîâûé òåêñò ðàç äâà òðè \ No newline at end of file diff --git a/autotests/input/encoding/cyrillic_utf8.txt b/autotests/input/encoding/cyrillic_utf8.txt new file mode 100644 index 0000000..51888b2 --- /dev/null +++ b/autotests/input/encoding/cyrillic_utf8.txt @@ -0,0 +1,2 @@ +Testing +Тестовый текст раз два три \ No newline at end of file diff --git a/autotests/input/encoding/koi8-r.txt b/autotests/input/encoding/koi8-r.txt new file mode 100644 index 0000000..eb61ad7 --- /dev/null +++ b/autotests/input/encoding/koi8-r.txt @@ -0,0 +1,2 @@ +Testing +ôÅÓÔÏ×ÙÊ ÔÅËÓÔ ÒÁÚ Ä×Á ÔÒÉ \ No newline at end of file diff --git a/autotests/input/encoding/latin15.txt b/autotests/input/encoding/latin15.txt new file mode 100644 index 0000000..974d9ab --- /dev/null +++ b/autotests/input/encoding/latin15.txt @@ -0,0 +1,7 @@ +Test +Straße +Christoph +Äußerung +Überall +Köhler +$perlvar \ No newline at end of file diff --git a/autotests/input/encoding/one-char-latin-15.txt b/autotests/input/encoding/one-char-latin-15.txt new file mode 100644 index 0000000..92a39f3 --- /dev/null +++ b/autotests/input/encoding/one-char-latin-15.txt @@ -0,0 +1 @@ +é \ No newline at end of file diff --git a/autotests/input/encoding/utf16.txt b/autotests/input/encoding/utf16.txt new file mode 100644 index 0000000000000000000000000000000000000000..9c4a0eccd4e3d0d26c95d60a584e87d7b815bcef GIT binary patch literal 110 zcmW-Y%L#x$5JTU2>aY`!9<>1lQDJdq{Zwcff?ar2v%^4!aY`!9<>1lQDJdq{Zwcff?ar2v%^4!kwZ;j1%u4hydm`@*)FaI7+p!|=+VB324)z>q;OutPjz|Mvi-konfnPq;*0q=A#du9cEFZaw> H_`mZH;F=fz literal 0 HcmV?d00001 diff --git a/autotests/input/encoding/utf8.txt b/autotests/input/encoding/utf8.txt new file mode 100644 index 0000000..73c6f28 --- /dev/null +++ b/autotests/input/encoding/utf8.txt @@ -0,0 +1,7 @@ +Test +Straße +Christoph +Äußerung +Überall +Köhler +$perlvar \ No newline at end of file diff --git a/autotests/input/indent/R/.kateconfig b/autotests/input/indent/R/.kateconfig new file mode 100644 index 0000000..2d6c478 --- /dev/null +++ b/autotests/input/indent/R/.kateconfig @@ -0,0 +1 @@ +kate: indent-mode r; replace-tabs true; indent-width 4; dynamic-word-wrap off; hl R Script; diff --git a/autotests/input/indent/R/bracketsBreak/expected b/autotests/input/indent/R/bracketsBreak/expected new file mode 100644 index 0000000..abd6e9f --- /dev/null +++ b/autotests/input/indent/R/bracketsBreak/expected @@ -0,0 +1,3 @@ +test( + text +) diff --git a/autotests/input/indent/R/bracketsBreak/input.js b/autotests/input/indent/R/bracketsBreak/input.js new file mode 100644 index 0000000..b8f5e4b --- /dev/null +++ b/autotests/input/indent/R/bracketsBreak/input.js @@ -0,0 +1,3 @@ +v.setCursorPosition(0,5); +v.enter(); +v.type("text"); diff --git a/autotests/input/indent/R/bracketsBreak/origin b/autotests/input/indent/R/bracketsBreak/origin new file mode 100644 index 0000000..8be6379 --- /dev/null +++ b/autotests/input/indent/R/bracketsBreak/origin @@ -0,0 +1 @@ +test() diff --git a/autotests/input/indent/R/closeBracket/expected b/autotests/input/indent/R/closeBracket/expected new file mode 100644 index 0000000..abd6e9f --- /dev/null +++ b/autotests/input/indent/R/closeBracket/expected @@ -0,0 +1,3 @@ +test( + text +) diff --git a/autotests/input/indent/R/closeBracket/input.js b/autotests/input/indent/R/closeBracket/input.js new file mode 100644 index 0000000..34cbccb --- /dev/null +++ b/autotests/input/indent/R/closeBracket/input.js @@ -0,0 +1,3 @@ +v.setCursorPosition(1,8); +v.enter(); +v.type(")"); diff --git a/autotests/input/indent/R/closeBracket/origin b/autotests/input/indent/R/closeBracket/origin new file mode 100644 index 0000000..caf0815 --- /dev/null +++ b/autotests/input/indent/R/closeBracket/origin @@ -0,0 +1,2 @@ +test( + text diff --git a/autotests/input/indent/R/indentAssign/expected b/autotests/input/indent/R/indentAssign/expected new file mode 100644 index 0000000..745dd72 --- /dev/null +++ b/autotests/input/indent/R/indentAssign/expected @@ -0,0 +1,5 @@ +tmp <- + Thisisaverylongvariablename +test <- NA +test <- 'String' + diff --git a/autotests/input/indent/R/indentAssign/input.js b/autotests/input/indent/R/indentAssign/input.js new file mode 100644 index 0000000..66f00db --- /dev/null +++ b/autotests/input/indent/R/indentAssign/input.js @@ -0,0 +1,8 @@ +v.setCursorPosition(0,6); +v.enter(); +v.type("Thisisaverylongvariablename"); +v.enter(); +v.type("test <- NA"); +v.enter(); +v.type("test <- 'String'"); +v.enter(); diff --git a/autotests/input/indent/R/indentAssign/origin b/autotests/input/indent/R/indentAssign/origin new file mode 100644 index 0000000..ab62f32 --- /dev/null +++ b/autotests/input/indent/R/indentAssign/origin @@ -0,0 +1 @@ +tmp <- diff --git a/autotests/input/indent/R/indentBracket/expected b/autotests/input/indent/R/indentBracket/expected new file mode 100644 index 0000000..6b3f078 --- /dev/null +++ b/autotests/input/indent/R/indentBracket/expected @@ -0,0 +1,3 @@ +plot(y ~ x, + data = data) +somevariable diff --git a/autotests/input/indent/R/indentBracket/input.js b/autotests/input/indent/R/indentBracket/input.js new file mode 100644 index 0000000..a0887b4 --- /dev/null +++ b/autotests/input/indent/R/indentBracket/input.js @@ -0,0 +1,6 @@ +v.setCursorPosition(0,11); +v.enter(); +v.type("data = data"); +v.setCursorPosition(1,17); +v.enter(); +v.type("somevariable"); diff --git a/autotests/input/indent/R/indentBracket/origin b/autotests/input/indent/R/indentBracket/origin new file mode 100644 index 0000000..71e2d99 --- /dev/null +++ b/autotests/input/indent/R/indentBracket/origin @@ -0,0 +1 @@ +plot(y ~ x,) diff --git a/autotests/input/indent/R/indentFormula/expected b/autotests/input/indent/R/indentFormula/expected new file mode 100644 index 0000000..cd2b22c --- /dev/null +++ b/autotests/input/indent/R/indentFormula/expected @@ -0,0 +1,4 @@ +lm(Response ~ Var1 + + Var2 + + Var3, + anotherargument diff --git a/autotests/input/indent/R/indentFormula/input.js b/autotests/input/indent/R/indentFormula/input.js new file mode 100644 index 0000000..c451d4c --- /dev/null +++ b/autotests/input/indent/R/indentFormula/input.js @@ -0,0 +1,7 @@ +v.setCursorPosition(0,20); +v.enter(); +v.type("Var2 +") +v.enter(); +v.type("Var3,") +v.enter(); +v.type("anotherargument") diff --git a/autotests/input/indent/R/indentFormula/origin b/autotests/input/indent/R/indentFormula/origin new file mode 100644 index 0000000..a026e91 --- /dev/null +++ b/autotests/input/indent/R/indentFormula/origin @@ -0,0 +1 @@ +lm(Response ~ Var1 + diff --git a/autotests/input/indent/R/indentOperator/expected b/autotests/input/indent/R/indentOperator/expected new file mode 100644 index 0000000..db0ecae --- /dev/null +++ b/autotests/input/indent/R/indentOperator/expected @@ -0,0 +1,4 @@ +ggplot(data = data) + + geom_line(aes(x = something, y = otherstuff)) + + coord_flip() + diff --git a/autotests/input/indent/R/indentOperator/input.js b/autotests/input/indent/R/indentOperator/input.js new file mode 100644 index 0000000..bb4d9e4 --- /dev/null +++ b/autotests/input/indent/R/indentOperator/input.js @@ -0,0 +1,6 @@ +v.setCursorPosition(0,21); +v.enter(); +v.type("geom_line(aes(x = something, y = otherstuff)) +"); +v.enter(); +v.type("coord_flip()"); +v.enter(); diff --git a/autotests/input/indent/R/indentOperator/origin b/autotests/input/indent/R/indentOperator/origin new file mode 100644 index 0000000..676ac05 --- /dev/null +++ b/autotests/input/indent/R/indentOperator/origin @@ -0,0 +1 @@ +ggplot(data = data) + diff --git a/autotests/input/indent/R/skipComment/expected b/autotests/input/indent/R/skipComment/expected new file mode 100644 index 0000000..f40e80a --- /dev/null +++ b/autotests/input/indent/R/skipComment/expected @@ -0,0 +1,6 @@ +data %>% + select(-Column) %>% + #filter(ID == "id2") %>% + gather() %>% + drop_na() + diff --git a/autotests/input/indent/R/skipComment/input.js b/autotests/input/indent/R/skipComment/input.js new file mode 100644 index 0000000..21738ef --- /dev/null +++ b/autotests/input/indent/R/skipComment/input.js @@ -0,0 +1,4 @@ +v.setCursorPosition(3,16); +v.enter(); +v.type("drop_na()"); +v.enter(); diff --git a/autotests/input/indent/R/skipComment/origin b/autotests/input/indent/R/skipComment/origin new file mode 100644 index 0000000..3827ea3 --- /dev/null +++ b/autotests/input/indent/R/skipComment/origin @@ -0,0 +1,4 @@ +data %>% + select(-Column) %>% + #filter(ID == "id2") %>% + gather() %>% diff --git a/autotests/input/indent/ada/.kateconfig b/autotests/input/indent/ada/.kateconfig new file mode 100644 index 0000000..a21afbc --- /dev/null +++ b/autotests/input/indent/ada/.kateconfig @@ -0,0 +1,2 @@ +kate: replace-tabs on; remove-trailing-spaces all; +kate: hl ada; indent-mode ada; indent-width 3; diff --git a/autotests/input/indent/ada/closepar2/expected b/autotests/input/indent/ada/closepar2/expected new file mode 100644 index 0000000..021cc5c --- /dev/null +++ b/autotests/input/indent/ada/closepar2/expected @@ -0,0 +1,4 @@ +begin + f( + arg1 + ) diff --git a/autotests/input/indent/ada/closepar2/input.js b/autotests/input/indent/ada/closepar2/input.js new file mode 100644 index 0000000..fa46c40 --- /dev/null +++ b/autotests/input/indent/ada/closepar2/input.js @@ -0,0 +1,5 @@ + +v.setCursorPosition(2,d.lineLength(2)); +v.enter(); +v.type(")"); + diff --git a/autotests/input/indent/ada/closepar2/origin b/autotests/input/indent/ada/closepar2/origin new file mode 100644 index 0000000..f4ec0a3 --- /dev/null +++ b/autotests/input/indent/ada/closepar2/origin @@ -0,0 +1,3 @@ +begin + f( + arg1 diff --git a/autotests/input/indent/ada/longtest/expected b/autotests/input/indent/ada/longtest/expected new file mode 100644 index 0000000..5dda54e --- /dev/null +++ b/autotests/input/indent/ada/longtest/expected @@ -0,0 +1,628 @@ +-- +-- + + +-- + +with text_io; +use text_io; + +with Ada.Integer_Text_IO; +use Ada.Integer_Text_IO; + + +package Package_With_Private is + + type Private_Type is private; + +private + + type Private_Type is array (1 .. 10) of Integer; + +end Package_With_Private; + + +procedure Range_1( i : integer ); -- forward declaration + + +Block_Name : -- CHECK: block labels are handled sensibly +declare + A_Variable : The_Type; +begin + Use A_Variable +end Block_Name; + +generic + Max: Positive; + type Element_T is private; +package Generic_Stack is + procedure Push (E: Element_T); + function Pop return Element_T; +end Generic_Stack; + + +procedure Generic_Swap is + generic + type Item is private; + procedure Exchange(X, Y: in out Item); + procedure Exchange(X, Y: in out Item) is + Temp: Item; + begin + Temp := X; + Result.Elements (i, Result.Elements'Last (2)) + := 3 + Right.Elements (i); + a := long_expression + + another_long_expression; -- CHECK: this should be indented + func + ( a, + b + ); + Y := func + ( a, + b + ); + Y := + func + ( a, + b + ); + end; + + A, B : Integer; + procedure Swap is new Exchange(integer); + +begin + A := 1; + B := 2; + Swap(A,B); + Ada.Float_Text_IO.put -- Float literal + (Item => gamma(i), Fore => 1, Aft => 1, Exp => 0); + new_line; + Ada.Float_Text_IO.put( -- Float literal + Item => gamma(i), Fore => 1, Aft => 1, Exp => 0); + new_line; + return( a+b ); + return( + a+b ); + return + ( a + +b); + +end Generic_Swap; + + +function SUBSTRING (DSTR: DYN_STRING; -- this is a forward reference + START : natural; + LENGTH : natural := 0) + return DYN_STRING; + +function SUBSTRING (DSTR: DYN_STRING; + LENGTH : natural := 0) + return DYN_STRING is + DS: DYN_STRING; + L : natural := LENGTH; + + type Degrees is new Float range -273.15 .. Float'Last; + Temperature : Degrees; + + type Car is record + Identity : Long_Long_Integer; + Number_Wheels : Positive range 1 .. 10; + Paint : Color; + Horse_Power_kW : Float range 0.0 .. 2_000.0; + Consumption : Float range 0.0 .. 100.0; + end record; + + BMW : Car := + (Identity => 2007_752_83992434, + Number_Wheels => 5, + Horse_Power_kW => 190.0, + Consumption => 10.1, + Paint => Blue); + + type Directions is (North, South, East, West); + Heading : Directions; + +begin + put_line("It works!"); + + case long_expression + + Another_long_expression is + when 89 ==> + s1; + s2; +<> -- CHECK: label should be aligned with begin +# + when 1 => + Walk_The_Dog; + + when 16#5# ==> + a := 5; + a := 9; + f(18); + s1; + +#include "fred" + + when 5 => + case Heading is + when North => + Y := Y + 1; + when South => + Y := Y - 1; + when East => + X := X + 1; + when West => + X := X - 1; + end case; + + when 8 | 10 => + + Sell_All_Stock; + + when others => + + if Temperature >= 40.0 then + Put_Line ("Wow!"); + Put_Line ("It's extremely hot"); + elsif Temperature >= 30.0 then + Put_Line ("It's hot"); + elsif Temperature >= 20.0 then + Put_Line ("It's warm"); + elsif Temperature >= 10.0 then + Put_Line ("It's cool"); + elsif Temperature >= 0.0 then + Put_Line ("It's cold"); + else + Put_Line ("It's freezing"); + end if; + + end case; + + DS3.DATA(1..DS3.SIZE):= DS1.DATA(1..DS1.SIZE) + & DS2.DATA(1..DS2.SIZE); + return DS3; -- CHECK: should align with DS3 above +end main; + + +procedure Quadratic_Equation + (A, B, C : Float; -- By default it is "in". + R1, R2 : out Float; + Valid : out Boolean) +is + Z : Float; + + type Discriminated_Record (Size : Natural) is + record + A : String (1 .. Size); + B : Integer; + end record; + +begin + Z := B**2 - 4.0 * A * C; + + if At_Location > In_Text'Last + or else At_Location + Pattern'Length - 1 > + In_Text'Last + or else Slided_Text_T (In_Text ( + At_Location .. At_Location + Pattern'Length - 1)) /= + Slided_Pattern + then + Valid := False; -- Being out parameter, it should be modified at least once. + R1 := 0.0; + R2 := 0.0; +<> + else + Valid := True; + R1 := (-B + Sqrt (Z)) / (2.0 * A); + R2 := (-B - Sqrt (Z)) / (2.0 * A); + end if; +end Quadratic_Equation; + + +procedure Error_Handling_4 is + + Float_Error : exception; + + type DEVICE is (PRINTER, DISK, DRUM); + type STATE is (OPEN, CLOSED); + + type PERIPHERAL(UNIT : DEVICE := DISK) is + record + STATUS : STATE; + case UNIT is + when PRINTER => + LINE_COUNT : INTEGER range 1 .. PAGE_SIZE; + when others => + CYLINDER : CYLINDER_INDEX; + TRACK : TRACK_NUMBER; + end case; + end record; + + + function Square_Root (X : in Float) return Float is + use Ada.Numerics.Elementary_Functions; + begin + if (X < 0.0) then + raise Float_Error; + else + return Sqrt (X); + end if; + end Square_Root; + +begin + + begin + C := Square_Root (A ** 2 + B ** 2); + + T_IO.Put ("C is "); + F_IO.Put + (Item => C, + Fore => (F_IO.Default_Fore + + 1 ), + Aft => F_IO.Default_Aft, + Exp => F_IO.Default_Exp); + exception + when Constraint_Error => + T_IO.Put ("C cannot be calculated!"); + end; + + return; +end Error_Handling_4; + + +procedure Range_1 is + type Range_Type is range -5 .. 10; + + Default_String : constant String := "This is the long string returned by" & + " default. It is broken into multiple" & + " Ada source lines for convenience."; + + Another_Default_String : constant String := + "This is the long string returned by" & + " default. It is broken into multiple" & + " Ada source lines for convenience."; + + type Op_Codes_In_Column is + ( Push, + Pop, + Add ); + + package T_IO renames Ada.Text_IO; + package I_IO is + new Ada.Text_IO.Integer_IO (Range_Type); + + a: real; + + +begin + for A in Range_Type loop + I_IO.Put (Item => A, + Width => 3, -- CHECK: params should line up + Base => 10); + + if A < Range_Type'Last then + Process_Each_Page: + loop + + declare + package Float_100_Stack is new Generic_Stack (100, Float); + use Float_100_Stack; + begin + Push (45.8); + end; + + Process_All_The_Lines_On_This_Page: + loop + s1; + exit Process_All_The_Lines_On_This_Page when Line_Number = Max_Lines_On_Page; + s2; + Look_For_Sentinel_Value: + loop + s3; + exit Look_For_Sentinel_Value when Current_Symbol = Sentinel; + s4; + end loop Look_For_Sentinel_Value; + s5; + end loop Process_All_The_Lines_On_This_Page; + s6; + exit Process_Each_Page when Page_Number = Maximum_Pages; + s7; + end loop Process_Each_Page; + else + T_IO.New_Line; + + -- comment below scans back to here !!?? + for I in A'Range (1) loop + for J in A'Range (2) loop + Sum := 0.0; + for R in A'Range (2) loop + Sum := Sum + A.all (I, R) * B.all (R, J); + end loop; + C.all (I, J) := Sum + + second_part_of_long_expression + + third_part_of_long_expression; + if Input_Found then + Count_Characters; + + else --not Input_Found + Reset_State; + Character_Total := + First_Part_Total * First_Part_Scale_Factor + + Second_Part_Total * Second_Part_Scale_Factor + + Default_String'Length + Delimiter_Size; + end if; + + end loop; + end loop; + end if; + end loop; +end Range_1; + +-- generic instantiation -- TODO: wrong, ... +-- ... statementIndent() scans back to for R in A'Range ... ??? ... +-- ... because it skips over the ends + +package Day_Of_Month_IO is -- TODO: scans back to beginning of file: generic? should have stopped at 'procedure' + new Ada.Text_IO.Integer_IO (Day_Of_Month); + +procedure f; + +-- CHECK: these should be recognised as forward procedures ... +procedure Day_Of (Day, Month, Year : in Integer; + Result : out Integer); +procedure x; +procedure x1; + +procedure TRAVERSE_TREE; +procedure INCREMENT(X : in out INTEGER); +procedure RIGHT_INDENT(MARGIN : out LINE_SIZE); -- see 3.5.4 +procedure SWITCH(FROM, TO : in out LINK); -- see 3.8.1 + +function RANDOM return PROBABILITY; -- see 3.5.7 + +function MIN_CELL(X : LINK) return CELL; -- see 3.8.1 +function NEXT_FRAME(K : POSITIVE) return FRAME; -- see 3.8 +function DOT_PRODUCT(LEFT,RIGHT: VECTOR) return REAL; -- see 3.6 + +function "*"(LEFT,RIGHT : MATRIX) return MATRIX; -- see 3.6 + +procedure Nesting is + + procedure Triple is + + procedure Second_Layer(Persistence : in out Persistence_View; + Stream : not null access Root_Stream_Type'Class) + is + + procedure Bottom_Layer is + begin + Put_Line("This is the Bottom Layer talking."); + Do_Something; + + if Test then + goto Exit_Use_Goto; + end if; + Do_Something_Else; + <