Associate loaded breakpoints with a moving cursor

Loaded breakpoints don't trigger markChanged(), which is normally
responsible for getting a moving cursor for breakpoints. Instead
the moving cursor for loaded breakpoints is now added in
textDocumentCreated().
Logic for adding moving cursors is also moved into seperate function,
as the same code snippet was used multiple times.

BUG: 424431
FIXED-IN: 5.6.0
1 job for !147 with fix_loaded_breakpoints in 60 minutes (queued for 2 seconds)
detached
Status Job ID Name Coverage
  Build
failed #62512
linux kf5-qt5 qt5.12

01:00:00

 
Name Stage Failure
failed
linux kf5-qt5 qt5.12 Build The script exceeded the maximum execution time set for the job
[ 97%] Built target kdevcmakedocumentation
[ 97%] Generating ui_cmakepossibleroots.h
Scanning dependencies of target kdevcmakemanagernosettings
[ 97%] Building CXX object plugins/cmake/CMakeFiles/kdevcmakemanagernosettings.dir/kdevcmakemanagernosettings_autogen/mocs_compilation.cpp.o
[ 97%] Building CXX object plugins/cmake/CMakeFiles/kdevcmakemanagernosettings.dir/testing/ctestutils.cpp.o
[ 97%] Building CXX object plugins/cmake/CMakeFiles/kdevcmakemanagernosettings.dir/testing/ctestfindjob.cpp.o
Uploading artifacts for failed job
Pulling docker image gitlab/gitlab-runner-helper:x86_64-a998cacd ...
ERROR: Job failed: execution took longer than 1h0m0s seconds