Latex editor



  • I found this in an latex editor source:

    Hundred of lines like  these:

    [code]UserMenuName[0]=config->value("User/Menu1","").toString();
    UserMenuTag[0]=config->value("User/Tag1","").toString();
    UserMenuName[1]=config->value("User/Menu2","").toString();
    UserMenuTag[1]=config->value("User/Tag2","").toString();
    UserMenuName[2]=config->value("User/Menu3","").toString();
    UserMenuTag[2]=config->value("User/Tag3","").toString();
    UserMenuName[3]=config->value("User/Menu4","").toString();
    UserMenuTag[3]=config->value("User/Tag4","").toString();
    UserMenuName[4]=config->value("User/Menu5","").toString();
    UserMenuTag[4]=config->value("User/Tag5","").toString();
    UserMenuName[5]=config->value("User/Menu6","").toString();
    UserMenuTag[5]=config->value("User/Tag6","").toString();
    UserMenuName[6]=config->value("User/Menu7","").toString();
    UserMenuTag[6]=config->value("User/Tag7","").toString();
    UserMenuName[7]=config->value("User/Menu8","").toString();
    UserMenuTag[7]=config->value("User/Tag8","").toString();
    UserMenuName[8]=config->value("User/Menu9","").toString();
    UserMenuTag[8]=config->value("User/Tag9","").toString();
    UserMenuName[9]=config->value("User/Menu10","").toString();
    UserMenuTag[9]=config->value("User/Tag10","").toString();
    UserToolName[0]=config->value("User/ToolName1","").toString();
    UserToolCommand[0]=config->value("User/Tool1","").toString();
    UserToolName[1]=config->value("User/ToolName2","").toString();
    UserToolCommand[1]=config->value("User/Tool2","").toString();
    UserToolName[2]=config->value("User/ToolName3","").toString();
    UserToolCommand[2]=config->value("User/Tool3","").toString();
    UserToolName[3]=config->value("User/ToolName4","").toString();
    UserToolCommand[3]=config->value("User/Tool4","").toString();
    UserToolName[4]=config->value("User/ToolName5","").toString();
    UserToolCommand[4]=config->value("User/Tool5","").toString();

    [/code]

    And this whenever some global options changed:

     [code]LatexEditorView *temp = new LatexEditorView( EditorView);
    temp=currentEditorView();
    FilesMap::Iterator it;
    for( it = filenames.begin(); it != filenames.end(); ++it )
    {

    ...            
    }
    EditorView->setCurrentIndex(EditorView->indexOf(temp));
    [/code]

    </p>



  •  Nice html codes u got there.



  •  Yes, the real wtf is the forum. I clicked on edit to replace the entitite, but they aren't show in the input field



  • There many things wrong with this forum. If everything was stored in one file it would be much easier to search.



  • @menta said:

    There many things wrong with this forum. If everything was stored in one file it would be much easier to search.

    I don't know what's more tedious: that at least half your posts are cliches, or that the cliches were worn out eight months ago.


  • Your sarcasm is cliche'@bstorer said:

    @menta said:

    There many things wrong with this forum. If everything was stored in one file it would be much easier to search.

    I don't know what's more tedious: that at least half your posts are cliches, or that the cliches were worn out eight months ago.
    d.


  • @bstorer said:

    @menta said:

    There many things wrong with this forum. If everything was stored in one file it would be much easier to search.

    I don't know what's more tedious: that at least half your posts are cliches, or that the cliches were worn out eight months ago.
    Your sarcasm is cliched.

     



  • @menta said:

    Your sarcasm is cliche'@bstorer said:

    @menta said:

    There many things wrong with this forum. If everything was stored in one file it would be much easier to search.

    I don't know what's more tedious: that at least half your posts are cliches, or that the cliches were worn out eight months ago.
    d.
    Quoted for fail.


  •  

    Yuo loose becse i beet you too it.



  • Could you two get a room, please?


Log in to reply