Merge branch 'testing' into release_1.2rc1
This commit is contained in:
@@ -2,6 +2,26 @@
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<h2>Release Notes for 1.1.1</h2>
|
||||
<p><i>Released on 21 February 2021</i></p>
|
||||
<p>This patch makes a couple of minor improvements to the GUI. The keyboard shortcut for deleting
|
||||
entries in the project tree has been changed from "Ctrl+Del" to "Ctrl+Shift+Del" to free up that
|
||||
shortcut for the document editor. It is now possible to use the shortcut for deleting the word in
|
||||
front of the cursor, a common and useful feature of many text editors.</p>
|
||||
<p>The way the negative word count filter option works on the Writing Statistics tool has been
|
||||
changed to be more intuitive. Enabling this filter now appears to remove all negative entries
|
||||
without altering the other entries. Previously, the removed negative counts would be included in
|
||||
the following entries to make it consistent with the total word count. In addition, writing
|
||||
sessions shorter than five minutes, and with no change in the word count, are no longer recorded in
|
||||
the session log file.</p>
|
||||
<p>Other changes include improving the speed of the internal spell checker, used when the Enchant
|
||||
spell check library isn't available. The internal spell checker is no longer significantly slower,
|
||||
but is still lacking in functionality compared to Enchant.</p>
|
||||
|
||||
<p><i>See also the <a href="https://github.com/vkbo/novelWriter/releases">Releases</a> page.</i></p>
|
||||
|
||||
<hr/>
|
||||
|
||||
<h2>Release Notes for 1.1</h2>
|
||||
<p><i>Released on 7 February 2021</i></p>
|
||||
<p>The main change in this release is the addition of a new tab to the project tree on the left
|
||||
@@ -25,8 +45,5 @@ clearer categories and hopefully better help text. Some new options have been ad
|
||||
syntax highlighting of multi-paragraph quotes. The highlighter can now optionally accept quotes to
|
||||
be left "hanging", that is, no closing quote in the same paragraph.</p>
|
||||
|
||||
<p><i>The full changelog is available
|
||||
<a href="https://github.com/vkbo/novelWriter/blob/main/CHANGELOG.md">here</a>.</i></p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+2
-1
@@ -709,7 +709,8 @@ class NWIndex():
|
||||
for refTitle in self._refIndex[tHandle]:
|
||||
for aTag in self._refIndex[tHandle][refTitle].get("tags", []):
|
||||
if len(aTag) == 3 and (sTitle is None or sTitle == refTitle):
|
||||
theRefs[aTag[1]].append(aTag[2])
|
||||
if aTag[1] in theRefs: # Future-compatible. Check can be removed in 1.2.
|
||||
theRefs[aTag[1]].append(aTag[2])
|
||||
|
||||
return theRefs
|
||||
|
||||
|
||||
+10
-1
@@ -1398,6 +1398,15 @@ class NWProject():
|
||||
sessionFile = os.path.join(self.projMeta, nwFiles.SESS_STATS)
|
||||
isFile = os.path.isfile(sessionFile)
|
||||
|
||||
nowTime = time()
|
||||
sessDiff = self.getSessionWordCount()
|
||||
sessTime = nowTime - self.projOpened
|
||||
|
||||
logger.info("The session lasted %d sec and added %d words" % (int(sessTime), sessDiff))
|
||||
if sessTime < 300 and sessDiff == 0:
|
||||
logger.info("Session too short, skipping log entry")
|
||||
return False
|
||||
|
||||
try:
|
||||
with open(sessionFile, mode="a+", encoding="utf8") as outFile:
|
||||
if not isFile:
|
||||
@@ -1410,7 +1419,7 @@ class NWProject():
|
||||
|
||||
outFile.write("%-19s %-19s %8d %8d %8d\n" % (
|
||||
formatTimeStamp(self.projOpened),
|
||||
formatTimeStamp(time()),
|
||||
formatTimeStamp(nowTime),
|
||||
self.novelWCount,
|
||||
self.notesWCount,
|
||||
int(idleTime),
|
||||
|
||||
Reference in New Issue
Block a user