Bug #974
When CodeEditor selection drops to zero - it should refresh ide menu bar
Status: | Approved | Start date: | 02/01/2015 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Zbigniew Rebacz | % Done: | 100% | |
Category: | CtrlLib | Spent time: | - | |
Target version: | - |
Description
Bar isn't refresh when selection drops to zero (copy and cut option should be diabsle)
History
#1 Updated by Zbigniew Rebacz about 10 years ago
Sorry Mirek it assigns you by default ;)
#2 Updated by Zbigniew Rebacz about 10 years ago
For person how is using menu in the row this bug doesn’t occur!!!
#3 Updated by Zbigniew Rebacz about 10 years ago
- Category changed from IDE to CtrlLib
It is deffinitly LineEditProblem. "anchor" is setting in a wrong way.
#4 Updated by Zbigniew Rebacz about 10 years ago
- Priority changed from Low to Normal
Priority "Normal" due to CtrlLib problem.
#5 Updated by Zbigniew Rebacz about 10 years ago
- Status changed from New to Patch ready
- % Done changed from 0 to 80
Catch it!!!
We need to change in function "IsAnySelection" (CtrlLib/TextEdit.h - 152 line) that cursor is different from anchor. Code:
bool IsAnySelection() const { return anchor >= 0 && anchor != cursor; }
Should we change two other methods, too?
bool IsSelection() const { return IsAnySelection() && !rectsel; } bool IsRectSelection() const { return IsAnySelection() && rectsel; }
#6 Updated by Zbigniew Rebacz about 10 years ago
- Priority changed from Normal to High
#7 Updated by Zbigniew Rebacz about 10 years ago
- File TextEdit.diff
added
#8 Updated by Miroslav Fidler about 10 years ago
- Status changed from Patch ready to Ready for QA
- Assignee changed from Miroslav Fidler to Zbigniew Rebacz
#9 Updated by Zbigniew Rebacz about 10 years ago
- Status changed from Ready for QA to Approved
- % Done changed from 80 to 100