Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
4
Newest
 Editor
Impact
~4k people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
Feb
21
awarded  Editor
Feb
21
comment Ask for user confirmation before executing a script?
@mayankbudhwani you are still solving the wrong issue. Why is that particular script special? If your users click on it by accident, that's a different issue. I have edited the answer with another approach.
Feb
21
revised Ask for user confirmation before executing a script?
add explanation on how to prevent clicking it on it by accident
Feb
21
comment Ask for user confirmation before executing a script?
@IsmaelMiguel but that's the whole point of the answer. It should not be shared. There's two different things, the action of the program and the system behaviour/experience. You should not merge the two.
Feb
20
answered Ask for user confirmation before executing a script?
Mar
31
awarded  Autobiographer
Mar
22
awarded  Supporter
May
15
comment How to add a new language definition for syntax highlighting in Gedit?
1) I think it makes sense the way it. If you have a <context ref="">, then it's a reference you should not give it an ID. If for some reason you need to, then have a <context id=""> with an <include>. 2) there's a difference between context and style. If you are doing <context ref="" style="">, it assumes the first is a reference for another <context>, while the second is a reference to something defined on <styles>. A final suggestion would be tun run the check-language.sh script that is in the directory with the lang files.
May
15
awarded  Teacher
May
15
answered How to add a new language definition for syntax highlighting in Gedit?