[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kate] part/script/data/files/quickcoding/cpp: fixes
From:       Christoph Cullmann <cullmann () kde ! org>
Date:       2012-10-31 23:02:39
Message-ID: 20121031230239.B4BC6A6078 () git ! kde ! org
[Download RAW message or body]

Git commit ee41f58bcce31b7ca2dd70dfcd104dd0d5e7a580 by Christoph Cullmann.
Committed on 01/11/2012 at 00:02.
Pushed by cullmann into branch 'master'.

fixes

M  +2    -2    part/script/data/files/quickcoding/cpp/a.template

http://commits.kde.org/kate/ee41f58bcce31b7ca2dd70dfcd104dd0d5e7a580

diff --git a/part/script/data/files/quickcoding/cpp/a.template \
b/part/script/data/files/quickcoding/cpp/a.template index 68574de..73eaa60 100644
--- a/part/script/data/files/quickcoding/cpp/a.template
+++ b/part/script/data/files/quickcoding/cpp/a.template
@@ -2,7 +2,7 @@
  * Get value of <%= n %>.
  * @return <%= n %>
  */
-<%= t %><% if (t.match(/\w$/)) { %> <% } %><%= n %> () const<% if (typeof(i)!== \
'undefined') { %> +<%= t %><% if (t.match(/[&\*]$/)) { %> <% } %><%= n %> () const<% \
if (typeof(i)!== 'undefined') { %>  {
     return m_<%= n %>;
 }<% } else { %>;<% }%>
@@ -11,7 +11,7 @@
  * Set value of <%= n %>.
  * @param <%= n %> new value of <%= n %>
  */
-void set<% n.capitalize(); %> (<%= t %> <%= n %>)<% if (typeof(i)!== 'undefined') { \
%> +void set<% n.capitalize(); %> (<%= t %><% if (t.match(/[&\*]$/)) { %> <% } %><%= \
n %>)<% if (typeof(i)!== 'undefined') { %>  {
     m_<%= n %> = <%= n %>;
 }<% } else { %>;<% }%>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic