mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
ide: TODOs, autocomplete utf-8 issue fixed
This commit is contained in:
parent
7c3d4d6f3f
commit
de72a49067
12 changed files with 17 additions and 1092 deletions
|
|
@ -179,16 +179,6 @@ String DecoratedItem(const String& name, const String& pretty)
|
|||
{
|
||||
String qtf = "[%00-00K ";
|
||||
Vector<ItemTextPart> n = ParsePretty(name, pretty);
|
||||
/* TODO
|
||||
if(pari < 0) {
|
||||
if(m.virt)
|
||||
qtf << "[@B virtual] ";
|
||||
if(m.kind == CLASSFUNCTION || m.kind == CLASSFUNCTIONTEMPLATE)
|
||||
qtf << "[@B static] ";
|
||||
}
|
||||
*/
|
||||
// Vector<String> qt = Split(m.qptype, sSplitT, false);
|
||||
// Vector<String> tt = Split(m.qtype, sSplitT, false);
|
||||
for(int i = 0; i < n.GetCount(); i++) {
|
||||
ItemTextPart& p = n[i];
|
||||
qtf << "[";
|
||||
|
|
@ -284,36 +274,6 @@ void TopicEditor::InsertNew(const AnnotationItem& m)
|
|||
editor.PrevPara();
|
||||
}
|
||||
|
||||
/* TODO: remove
|
||||
void GoTo(const String& topic, const String& link, const String& create, bool before);
|
||||
|
||||
void TopicEditor::GoTo(const String& _topic, const String& link, const String& create, bool before)
|
||||
{
|
||||
if(topics_list.FindSetCursor(_topic) && !IsNull(link)) {
|
||||
editor.Select(editor.GetLength(), 0);
|
||||
for(String cr : AnnotationCandidates(link))
|
||||
if(editor.GotoLabel([&](const WString& id) { return cr == CleanupTppId(id.ToString()); }))
|
||||
break;
|
||||
if(!IsNull(create)) {
|
||||
if(!before)
|
||||
for(int pass = 0; pass < 2; pass++)
|
||||
for(;;) {
|
||||
int c = editor.GetCursor();
|
||||
RichText::FormatInfo f = editor.GetFormatInfo();
|
||||
if(f.styleid == BeginUuid() || (IsNull(f.label) || f.label == "noref") && pass)
|
||||
break;
|
||||
editor.NextPara();
|
||||
if(editor.GetCursor() == c)
|
||||
break;
|
||||
}
|
||||
InsertNew(create);
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
void TopicEditor::GoTo(const String& _topic, const String& link, const AnnotationItem& create, bool before)
|
||||
{
|
||||
if(topics_list.FindSetCursor(_topic) && !IsNull(link)) {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "Browser.h"
|
||||
|
||||
// TODO - probably move somewhere else
|
||||
|
||||
#define IMAGECLASS BrowserImg
|
||||
#define IMAGEFILE <ide/Browser/Browser.iml>
|
||||
#include <Draw/iml_source.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue