/usr/share/codeblocks/lexers/lexer_diff.sample is in codeblocks-common 10.05-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Index: startherepage.cpp
===================================================================
--- startherepage.cpp (revision 1893)
+++ startherepage.cpp (working copy)
@@ -33,11 +33,7 @@
{
if (!m_pOwner->LinkClicked(link))
{
- #ifdef __WXMSW__
- ShellExecute(0,0,link.GetHref().c_str(),0,_T(""),SW_SHOWNORMAL);
- #else
- wxMessageBox(_("We 're sorry but currently this is not supported in your platform"), _("Information"), wxICON_INFORMATION);
- #endif
+ wxLaunchDefaultBrowser(link.GetHref());
}
}
}
|