subsurface/qt-models
Robert C. Helling dfe5092222 Identify user provided notes in plain text in replan
This is another attept at the problem if identifying a potentially
user supplied text in the dive notes upon replannig a dive.

It gets rid of the user visable position markers (*!* and ***) and
cirumvents problems with mark-up by first converting the old notes
to plan text (assuming that user only enters plain text in the notes
field as we do in other places as well). Then the automatically added
part is identified by locating the disclaimer in the text (if the user
edited/delted the disclaimer or changed langue in between it is her
problem to manually delete the old plan).

Everything from the disclaimer on is deleted and replaced by the new plan.

If the disclaimer is not found, the new plan is appended to the old notes.
This way we make sure no information gets automatically deleted.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
2017-04-20 10:57:47 -07:00
..
cleanertablemodel.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
cleanertablemodel.h Planner: show new icon to indicate that last point can't be deleted 2015-09-17 15:27:49 -07:00
CMakeLists.txt Untangle Library Linkage 2016-01-08 08:04:04 -08:00
completionmodels.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
completionmodels.h Correctly removes the Location Completion Model 2015-07-01 19:21:50 -07:00
cylindermodel.cpp Don't erroneously mark the cylinder pressure red - second try 2017-03-24 09:35:51 -07:00
cylindermodel.h Correctly trigger update of cylinder table trash icons in planner 2017-03-13 10:26:18 -07:00
divecomputerextradatamodel.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divecomputerextradatamodel.h Move ExtraDataModel to qt-models 2015-05-29 14:11:26 -07:00
divecomputermodel.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divecomputermodel.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divelistmodel.cpp DiveListModel: don't add the dives one at a time 2016-04-05 21:17:37 -07:00
divelistmodel.h DiveListModel: don't add the dives one at a time 2016-04-05 21:17:37 -07:00
divelocationmodel.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divelocationmodel.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divepicturemodel.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divepicturemodel.h Move ImageDownloader out of the desktop widgets 2015-11-06 11:30:11 -08:00
diveplannermodel.cpp Identify user provided notes in plain text in replan 2017-04-20 10:57:47 -07:00
diveplannermodel.h Minimum gas calculation - Calculations and UI parameters 2017-03-11 08:01:35 -08:00
diveplotdatamodel.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
diveplotdatamodel.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divesitepicturesmodel.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divesitepicturesmodel.h Add DiveSitePicturesModel 2015-08-15 04:59:01 -07:00
divetripmodel.cpp Use abbreviations with dots. 2017-03-11 08:09:07 -08:00
divetripmodel.h Provide photos summary on dive list 2016-11-24 09:58:16 +09:00
filtermodels.cpp Fix fix for filters 2016-07-09 12:45:55 -07:00
filtermodels.h
gpslistmodel.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
gpslistmodel.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
models.cpp Language preference: remove the .qm suffix before handling locale 2016-09-20 12:48:30 -07:00
models.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
ssrfsortfilterproxymodel.cpp Fix recursive stack-overflow 2015-08-31 18:41:47 -07:00
ssrfsortfilterproxymodel.h Add a new model: SsrfFilterProxyModel 2015-08-31 18:41:14 -07:00
tankinfomodel.cpp Fix double to int truncation in C++ code 2017-03-24 09:39:25 -07:00
tankinfomodel.h Move Tankinfomodel to its own file 2015-05-29 14:10:30 -07:00
treemodel.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
treemodel.h Move TreeModel to qt-models 2015-05-29 14:12:06 -07:00
weightmodel.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
weightmodel.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
weigthsysteminfomodel.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
weigthsysteminfomodel.h Typo on the header guard. oops. 2015-05-29 20:58:58 -07:00
yearlystatisticsmodel.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
yearlystatisticsmodel.h Move the YearlyStatisticsModel to qt-models 2015-05-29 14:12:48 -07:00