diff --git a/content/smartTemplate-fileTemplates.js b/content/smartTemplate-fileTemplates.js
index b0c140263..d669d1b08 100644
--- a/content/smartTemplate-fileTemplates.js
+++ b/content/smartTemplate-fileTemplates.js
@@ -1345,6 +1345,14 @@ SmartTemplate4.fileTemplates = {
}
else
html = html.replace("*selection*", "%cursor%");
+
+ if (!SmartTemplate4.Util.hasProLicense) {
+ SmartTemplate4.Util.addUsedPremiumFunction("snippetSelection");
+ if (!SmartTemplate4.Util.hasLicense() || SmartTemplate4.Util.licenseInfo.keyType==2) {
+ SmartTemplate4.Util.popupLicenseNotification(SmartTemplate4.Util.premiumFeatures, true, true);
+ }
+ SmartTemplate4.Util.clearUsedPremiumFunctions();
+ }
}
let flags = SmartTemplate4.PreprocessingFlags;
diff --git a/install.rdf b/install.rdf
index 6ca05df34..018d07f88 100644
--- a/install.rdf
+++ b/install.rdf
@@ -14,7 +14,7 @@
em:icon64URL="chrome://smartTemplate4/skin/icon64x64.png"
em:optionsURL="chrome://smartTemplate4/content/settings.xul"
em:aboutURL="chrome://smartTemplate4/content/about.xul">
-