ViewSwitchFix.diff
idefile.cpp (kopia robocza) | ||
---|---|---|
582 | 582 |
void Ide::EditAsHex() |
583 | 583 |
{ |
584 | 584 |
String path = editfile; |
585 |
if(editashex.Find(path) >= 0) |
|
586 |
return; |
|
585 | 587 |
editastext.RemoveKey(editfile); |
586 | 588 |
editashex.FindPut(editfile); |
587 | 589 |
byte cs = editor.GetCharset(); |
... | ... | |
606 | 608 |
void Ide::EditAsText() |
607 | 609 |
{ |
608 | 610 |
String path = editfile; |
611 |
if(editastext.Find(path) >= 0) |
|
612 |
return; |
|
609 | 613 |
if(!FileExists(path)) |
610 | 614 |
return; |
611 | 615 |
DoEditAsText(path); |
... | ... | |
617 | 621 |
void Ide::EditUsingDesigner() |
618 | 622 |
{ |
619 | 623 |
String path = editfile; |
624 |
if (editastext.Find(editfile) < 0 && editashex.Find(editfile) < 0) |
|
625 |
return; |
|
620 | 626 |
editashex.RemoveKey(editfile); |
621 | 627 |
editastext.RemoveKey(editfile); |
622 | 628 |
byte cs = editor.GetCharset(); |