Skip to content

Space and Tab in 3dc file

l.dressen requested to merge 514-space-and-tab-in-3dc-file into master

Having a tab or a whitespace at the end of a line in a .3dc file lead to the point not being read. This MR fixes it by trimming every line off whitespaces/tabs. This should also fix leading whitespaces/tabs. Added a test case and updated the documentation.

Reviewer Checklist

General code quality

  • naming conventions are met (see .clang-tidy for detailed information)
  • no static analyzer warnings in new code parts (e.g., use clang-tidy for checking)

General usability

  • old versions of pet-files are still loadable
  • documentation updated (if applicable)

Only if changes in UI

  • new elements are also saved and loaded from pet-file
  • check if tab order is still correct
  • all new SpinBoxes are promoted
  • new keybindings added to Petrack::keyBindings()

Closes #514 (closed)

Merge request reports

Loading