How long c::b uses gtk3?Hm, you'll have to try again, because it is not clear what are you asking.
When I go to properties on a file and tick "Use custom command to build this file" in Advanced tab, it will automatically tick "File is read-only" in General tab. Is this an intended behavior?
When I go to properties on a file and tick "Use custom command to build this file" in Advanced tab, it will automatically tick "File is read-only" in General tab. Is this an intended behavior?
If the file is read only (Operating System Setting), yes it is the intended behavior.
Tim S.
Index: src/plugins/codecompletion/codecompletion.cpp
===================================================================
--- src/plugins/codecompletion/codecompletion.cpp (revision 9398)
+++ src/plugins/codecompletion/codecompletion.cpp (working copy)
@@ -1562,7 +1562,6 @@
{
--startPos;
}
- const int endPos = control->WordEndPosition(curPos, true);
bool needReparse = false;
if (control->IsPreprocessor(control->GetStyleAt(curPos)))
@@ -1606,7 +1605,7 @@
}
needReparse = true;
- int pos = startPos;
+ int pos = startPos - 1;
wxChar ch = control->GetCharAt(pos);
while (ch != _T('<') && ch != _T('"') && ch != _T('#') && (pos>0))
ch = control->GetCharAt(--pos);
@@ -1618,11 +1617,14 @@
else if (ch == _T('<'))
itemText << _T('>');
}
+ else
+ {
+ const int endPos = control->WordEndPosition(curPos, true);
+ const wxString& alreadyText = control->GetTextRange(curPos, endPos);
+ if (!alreadyText.IsEmpty() && itemText.EndsWith(alreadyText))
+ curPos = endPos;
+ }
- const wxString alreadyText = control->GetTextRange(curPos, endPos);
- if (!alreadyText.IsEmpty() && itemText.EndsWith(alreadyText))
- curPos = endPos;
-
control->AutoCompCancel();
int positionModificator = 0;
Can you try applying this patch?I have not noticed problems with this patch, and will commit soon if there are no further comments. (I would appreciate if someone who has observed problem 2. can report whether or not this patch resolves it.)
[...]
What about #include filenames completion? This feature seems to work sometimes and sometimes it doesn't.I have a similar issue with header files. For example, if I have typed <ios> by mistake and take my cursor inside header name, and continue typing from 's', it will pop up options like iosfwd and iostream. When I choose the latter by pressing the tab key, it automatically adds an extra > character.
Assume I want to include the file at "../dialogs/CustomDialog.h"
So, I type:
#include "../d" (note the closing quote mark)
and here comes CC suggesting "../dialogs/CustomDialog.h". I press 'enter' and get
#include "../dialogs/CustomDialog.h"" (extra quote mark)
or even
#include "../d../dialogs/CustomDialog.h" (my input wasn't overwritten)
But sometimes headers completion works perfectly.
Should this be reported as a bug?
Ahem. Greetings all, I have an announcement to make. I can get C::B to consistently crash by opening the watch properties while a watch is being evaluated. I'm not sure if it's just me, but If anyone is interested in the steps to reproduce said phenom, or would just like to observe the action, I will be making a demo video sometime today. That is all.
I have a similar issue with header files. For example, if I have typed <ios> by mistake and take my cursor inside header name, and continue typing from 's', it will pop up options like iosfwd and iostream. When I choose the latter by pressing the tab key, it automatically adds an extra > character.Should already be fixed in trunk (as of rev. 9401).
Should already be fixed in trunk (as of rev. 9401).As of rev. 9414, the aforementioned problems got solved.
Ahem. Greetings all, I have an announcement to make. I can get C::B to consistently crash by opening the watch properties while a watch is being evaluated. I'm not sure if it's just me, but If anyone is interested in the steps to reproduce said phenom, or would just like to observe the action, I will be making a demo video sometime today. That is all.Can you reproduce this problem with a minimal-sample project and then provide the steps needed to do it, so I can take a look at it?
[ 1981s] W: codeblocks strict-aliasing-punning ../../../../src/include/scripting/sqplus/sqplus.h:420, 1801
[ 1981s] W: codeblocks strict-aliasing-punning sqcompiler.cpp:655, 701
[ 1981s] W: codeblocks strict-aliasing-punning sqstdblob.cpp:161, 169
[ 1981s] W: codeblocks strict-aliasing-punning sqstdsystem.cpp:55
[ 1981s] W: codeblocks strict-aliasing-punning sqvm.cpp:740
[ 1981s] W: codeblocks strict-aliasing-punning src/pdfencrypt.cpp:188, 189
[ 1981s] W: codeblocks strict-aliasing-punning src/pdfrijndael.cpp:1088, 1089, 1090, 1091, 1096, 1109, 1110, 1111, 1112, 1118, 1119, 1120, 1121, 1182, 1235, 1236, 1237, 1238, 1243, 1244, 1245, 1246, 1251, 1252, 1253, 1254, 1264, 1265, 1266, 1267, 1273, 1274, 1275, 1276, 1345, 1356, 1396, 1407, 1430, 1435, 1443, 1450, 1469, 1471, 1473, 1475, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1506, 1507, 1508, 1509, 1511, 1512, 1513, 1514, 1515, 1516, 1517, 1518, 1519, 1520, 1521, 1522, 1523, 1524, 1525, 1526, 1528, 1529, 1530, 1531, 1548, 1549, 1550, 1551, 1559, 1560, 1561, 1562, 1564, 1565, 1566, 1567, 1568, 1569, 1570, 1571, 1572, 1573, 1574, 1575, 1576, 1577, 1578, 1579, 1582, 1583, 1584, 1585, 1586, 1587, 1588, 1589, 1590, 1591, 1592, 1593, 1594, 1595, 1596, 1597, 1598, 1599, 1600, 1601, 1604, 1605, 1606, 1607, 1624, 1625, 1626, 1627
[ 1981s] E: codeblocks 64bit-portability-issue bzlib.c:1431
I have a serious issue! I use 9145 in OpenSUSE. It always uses one core and does not want to exit completely. The UI disappears BUT the process exists and does not want to stop. It always uses a core!Install gamin-server it need for FileManager plugin.