~bratsche/ubuntu/maverick/monodevelop/disable-appmenu

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.ExtensionNodes/IncludeExtensionNode.cs

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-03-29 23:36:33 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080329233633-wq5p1rktg8ek3vxc
Tags: 1.0+dfsg-1ubuntu1
* Merge from Debian unstable. (LP: #209012) Remaining Ubuntu changes:
+ debian/control: 
  - Build-dep on xulrunner-1.9-dev instead of firefox-dev
  - Depend on xulrunner-1.9 instead of firefox
+ don't do any MOZILLA_HOME/MOZILLA_FIVE_HOME business which isn't needed
  for xulrunner-1.9 using the standalone glue anymore (gecko gil uses
  standalone by default)
  - add debian/patches/use_xulrunner_1.9.dpatch
  - update debian/patches/00list
* Remove build-dep on libxul-dev and the dep on libxul0d
  since we are using xulrunner1.9 instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
//
27
27
 
28
28
using System;
 
29
using MonoDevelop.Gettext;
29
30
using Mono.Addins;
30
31
 
31
32
namespace MonoDevelop.Gettext.ExtensionNodes
45
46
                [NodeAttribute ("plural", Description="Set to 'true' if this regex includes a plural group.")]
46
47
                bool plural = false;
47
48
                
 
49
                [NodeAttribute ("regexOptions", Description="RegexOptions flags separated by '|'")]
 
50
                string regexOptions = null;
 
51
                
 
52
                [NodeAttribute ("escapeMode", Description="If the string is escaped, this can be used to unescape it using a mode defined in MonoDevelop.Gettext.StringEscaping.EscapeMode. If more flexibility is needed, define a Transform regex instead.")]
 
53
                StringEscaping.EscapeMode escapeMode = StringEscaping.EscapeMode.None;
 
54
                
48
55
                public string RegexValue {
49
56
                        get {
50
57
                                return regexValue;
62
69
                                return plural ? pluralGroup : -1;
63
70
                        }
64
71
                }
 
72
                
 
73
                public string RegexOptions {
 
74
                        get {
 
75
                                return regexOptions;
 
76
                        }
 
77
                }
 
78
                
 
79
                public StringEscaping.EscapeMode EscapeMode {
 
80
                        get {
 
81
                                return escapeMode;
 
82
                        }
 
83
                }
65
84
        }
66
85
}