Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Usability issues

<< < (4/9) > >>

lexis:
SciTE reports 8-bit (means ASCII) for xmltest.cpp attached at previous post...

Jenna:

--- Quote from: lexis on February 24, 2009, 11:15:29 am ---SciTE reports 8-bit (means ASCII) for xmltest.cpp attached at previous post...

--- End quote ---

As far as I know ASCII has just 7-bits, not 8. So the report is just wrong.

The file contains german umlauts and ß and can therefore not be ASCII.

lexis:
Yes, you are right...
I mean "ASCII" as non unicode or multibyte...
8-bit equals ASCII if byte value <= 0x7F(127)
If byte value > 0x7F then character can be defined according some encoding (CP1251 or CP1252 [since I'm from Russia] or some else).
There no info about particular encoding is in the file.

ollydbg:
@Ceniza
The Issue 3 can be solved.

See my post:

http://forums.codeblocks.org/index.php/topic,10616.msg72724.html#msg72724

oBFusCATed:
There is more serious/annoying issue related to the tooltips (I suppose it is a known one (I think, I've reported it in the past)):

Step to reproduce:
1. Stop at break point
2. Select variable
3. Open the context menu, with the desire to use the "add watch" menu option
4. The tooltip with the current value of that variable is shown and the context menu is closed.

The "add watch" option works but I've to be very fast (I beat the tooltip 1 from 10 tries :( ) :(

Update: after little hacking of the C::B source, I've made a fix for it:


--- Code: ---Index: src/include/editorbase.h
===================================================================
--- src/include/editorbase.h    (revision 5611)
+++ src/include/editorbase.h    (working copy)
@@ -218,7 +218,7 @@
 
         /** Clear Undo- (and Changebar-) history */
         virtual void ClearHistory(){}
-       
+
         /** Goto next changed line */
         virtual void GotoNextChanged(){}
 
@@ -233,7 +233,7 @@
 
         /** Enable or disable ScrollWidthTracking */
         virtual void SetScrollWidthTracking(bool trackWidth){}
-       
+
         /** Cut selected text/object to clipboard. */
         virtual void Cut(){}
 
@@ -282,6 +282,8 @@
         /** Select everything in the editor
           */
         virtual void SelectAll() { return; }
+
+        virtual bool IsContextMenuOpened() const;
     protected:
         /** Initializes filename data.
           * @param filename The editor's filename for initialization.
Index: src/sdk/editorbase.cpp
===================================================================
--- src/sdk/editorbase.cpp      (revision 5611)
+++ src/sdk/editorbase.cpp      (working copy)
@@ -389,3 +389,8 @@
         event.Skip();
     }
 }
+
+bool EditorBase::IsContextMenuOpened() const
+{
+    return m_pData->m_DisplayingPopupMenu;
+}
Index: src/plugins/debuggergdb/debuggergdb.cpp
===================================================================
--- src/plugins/debuggergdb/debuggergdb.cpp     (revision 5611)
+++ src/plugins/debuggergdb/debuggergdb.cpp     (working copy)
@@ -2495,6 +2495,9 @@
     if (!ed)
         return;
 
+    if(ed->IsContextMenuOpened())
+        return;
+
     int style = event.GetInt();
     if (style != wxSCI_C_DEFAULT && style != wxSCI_C_OPERATOR && style != wxSCI_C_IDENTIFIER)

--- End code ---

Any feedback is welcome ...
Best regards

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version