summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-07-20 13:03:46 -0400
committerB. Stack <bgstack15@gmail.com>2024-07-20 13:03:46 -0400
commit26333477b7594b34197ae9dec661551d77f42b89 (patch)
tree01e47a6372e1377a4cc332bbdfcc07bb83b22548
parentnpp 8.6.9 (diff)
downloadstackrpms-26333477b7594b34197ae9dec661551d77f42b89.tar.gz
stackrpms-26333477b7594b34197ae9dec661551d77f42b89.tar.bz2
stackrpms-26333477b7594b34197ae9dec661551d77f42b89.zip
scite update stackrpms.lua
-rw-r--r--scite/debian/changelog6
-rw-r--r--scite/debian/scite+stackrpms.dsc2
-rw-r--r--scite/debian/stackrpms.lua5
3 files changed, 10 insertions, 3 deletions
diff --git a/scite/debian/changelog b/scite/debian/changelog
index 1785025..35dd1ba 100644
--- a/scite/debian/changelog
+++ b/scite/debian/changelog
@@ -1,3 +1,9 @@
+scite (1:5.5.0-101+stackrpms) unstable; urgency=medium
+
+ * Update stackrpms.lua
+
+ -- B. Stack <bgstack15@gmail.com> Sat, 20 Jul 2024 13:02:33 -0400
+
scite (1:5.5.0-100+stackrpms) unstable; urgency=medium
* Add stackrpms lua script and customized global.properties
diff --git a/scite/debian/scite+stackrpms.dsc b/scite/debian/scite+stackrpms.dsc
index ef7c5f1..0ed75d1 100644
--- a/scite/debian/scite+stackrpms.dsc
+++ b/scite/debian/scite+stackrpms.dsc
@@ -2,7 +2,7 @@ Format: 3.0 (quilt)
Source: scite
Binary: scite
Architecture: any
-Version: 1:5.5.0-100+stackrpms
+Version: 1:5.5.0-101+stackrpms
Maintainer: B. Stack <bgstack15@gmail.com>
Homepage: https://scintilla.org/SciTE.html
Standards-Version: 4.7.0
diff --git a/scite/debian/stackrpms.lua b/scite/debian/stackrpms.lua
index 21f9257..75a6fd3 100644
--- a/scite/debian/stackrpms.lua
+++ b/scite/debian/stackrpms.lua
@@ -266,13 +266,14 @@ end
-- %Y full year (1998)
-- %y two-digit year (98) [00-99]
-- %% the character '%'
+-- Last modified 2024-07-20-7 09:10
function InsertDateAH()
local dow = tostring(math.floor(os.date("%w") + 1))
local d1 = os.date("%Y-%m-%d-")
local d2 = os.date(" %H:%M")
- editor:AddText(d1..dow..d2)
+ editor:ReplaceSel(d1..dow..d2)
end
function InsertDateIso()
local date_string = os.date("%Y-%m-%dT%T")
- editor:AddText(date_string)
+ editor:ReplaceSel(date_string)
end
bgstack15