Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • francesco-bariatti/pingouins
  • Samuel.Felton/pingouins
  • Lucas.Clement/pingouins
3 results
Show changes
Showing
with 0 additions and 1025 deletions
File deleted
File deleted
This diff is collapsed.
\contentsline {chapter}{\numberline {1}Introduction}{2}{chapter.1}
\contentsline {section}{\numberline {1.1}Latexila}{2}{section.1.1}
\contentsline {chapter}{\numberline {2}\IeC {\'E}tude pratique}{3}{chapter.2}
\contentsline {section}{\numberline {2.1}T\IeC {\^a}che \IeC {\`a} r\IeC {\'e}aliser}{3}{section.2.1}
\contentsline {subsection}{\numberline {2.1.1}La compl\IeC {\'e}tion dans LaTeXila 2.2}{3}{subsection.2.1.1}
\contentsline {subsection}{\numberline {2.1.2}Une compl\IeC {\'e}tion dynamique}{3}{subsection.2.1.2}
\contentsline {chapter}{\numberline {3}R\IeC {\'e}alisation}{4}{chapter.3}
\contentsline {section}{\numberline {3.1}Int\IeC {\'e}gration d'une recherche au document courant}{4}{section.3.1}
\contentsline {subsection}{\numberline {3.1.1}Invite de compl\IeC {\'e}tion}{4}{subsection.3.1.1}
\contentsline {section}{\numberline {3.2}Int\IeC {\'e}gration d'une recherche \IeC {\`a} plusieurs documents}{5}{section.3.2}
\contentsline {section}{\numberline {3.3}Int\IeC {\'e}gration des fichiers non-ouverts}{6}{section.3.3}
\contentsline {section}{\numberline {3.4}Gestion de projet}{7}{section.3.4}
\contentsline {subsection}{\numberline {3.4.1}Git}{7}{subsection.3.4.1}
\contentsline {chapter}{\numberline {4}Conclusion}{8}{chapter.4}
\relax
\providecommand\hyper@newdestlabel[2]{}
\@setckpt{./lst_config}{
\setcounter{page}{1}
\setcounter{equation}{0}
\setcounter{enumi}{0}
\setcounter{enumii}{0}
\setcounter{enumiii}{0}
\setcounter{enumiv}{0}
\setcounter{footnote}{0}
\setcounter{mpfootnote}{0}
\setcounter{part}{0}
\setcounter{chapter}{0}
\setcounter{section}{0}
\setcounter{subsection}{0}
\setcounter{subsubsection}{0}
\setcounter{paragraph}{0}
\setcounter{subparagraph}{0}
\setcounter{figure}{0}
\setcounter{table}{0}
\setcounter{lstnumber}{1}
\setcounter{Item}{0}
\setcounter{Hfootnote}{0}
\setcounter{bookmark@seq@number}{0}
\setcounter{ContinuedFloat}{0}
\setcounter{lstlisting}{0}
\setcounter{section@level}{0}
}
\definecolor{mygreen}{rgb}{0,0.6,0}
\definecolor{mygray}{rgb}{0.5,0.5,0.5}
\definecolor{mymauve}{rgb}{0.58,0,0.82}
\lstset{ %
backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}
basicstyle=\tt\small, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=b, % sets the caption-position to bottom
commentstyle=\color{mygreen}, % comment style
deletekeywords={...}, % if you want to delete keywords from the given language
escapeinside={\%*}{*)}, % if you want to add LaTeX within your code
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
frame=single, % adds a frame around the code
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
keywordstyle=\color{blue}, % keyword style
language=[Sharp]C, % the language of the code
otherkeywords={*,...}, % if you want to add more keywords to the set
numbers=left, % where to put the line-numbers; possible values are (none, left, right)
numbersep=5pt, % how far the line-numbers are from the code
numberstyle=\tiny\color{mygray}, % the style that is used for the line-numbers
rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here))
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
stepnumber=2, % the step between two line-numbers. If it's 1, each line will be numbered
stringstyle=\color{mymauve}, % string literal style
tabsize=2, % sets default tabsize to 2 spaces
title=\lstname % show the filename of files included with \lstinputlisting; also try caption instead of title
}
\lstset{literate=
{é}{{\'e}}1 {à}{{\`a}}1 {è}{{\`e}}1
{â}{{\^a}}1 {ê}{{\^e}}1 {ç}{{\c c}}1
{î}{{\^i}}1 {û}{{\^u}}1
}
mktextfm ecrm1095
mktextfm ecrm1095
mktextfm ecrm1095
This diff is collapsed.
% listings for Vala
% Vala definitions
%
\lst definelanguage{Vala}[Sharp]{C}%
{morekeywords={CCode,DBus,Test,cname,cheader_filename,type_id,%
marshaller_type_name,get_value_function,set_value_function,%
default_value,IntegerType,rank,type_signature,size_t,int8,int16,%
int32,uint32,uint16,uint8,int64,uint64,float,double,time_t,%
SimpleType,unichar,cprefix,has_type_id,get,set,ref_function,%
unref_function,free_function,has_target,Compact,delegate,%
destroy_function,PrintFormat,Diagnostics,FILE,LINE,METHOD,%
errordomain,array_length_type,has_array_length,is_null_terminated,%
ReturnsModifiedPointer,dup_function,weak,owned,unowned,value,var,%
connect,async},%
morecomment=[s]{"""}{"""}
}[keywords,strings]
% from https://mail.gnome.org/archives/vala-list/2009-October/msg00139.html
First approache of the code
=======================
Let's see what we can do !
Directories
----------------
Here are the directories, with comments:
data/ icons, images and templates used by latexila
docs/ reference manual
help/ reference files (and some translations?)
m4/ macro for valac
man/ manpage
po/ language files for latexila
src/ code in vala !
tests/ code coverage and test tools
vapi/ ?
Main
--------
Use of two ```main```:
- one for command line call
- one for app call
Interesting files/methods
-----------------------
- document -> parser
- document_structure -> variables and structures to describe a document
- get_markup_type
- search_markup
- get_markup_content
- handle_item
- completion -> ```CompletionProvider```
# ```Parser()``` calls
What happens when a document is save (parsing POV)
### Methods
1. File: main_window.vala | Method: save_document(Document doc, bool force_save_as)
2. File: structure.vala | Method: public void refresh ()
3. File: structure.vala | Method: private void show_document (Document? doc, bool force_parse = false)
### Summary
When a document is saved (i.e. when the method 1 is called) and if thsi document is the active one,
the doc structure is refresh via ```_main_window_structure.refresh ();``` (2)
The method called refresh (2)is a single call to the method 3 with the argument force_parse set at True. It
fullfill the condition ```if (force_parse)``` and call the method ```_document_structure.parse ();```
That's all folks!
\ No newline at end of file
File deleted
# Where the method "parse" from DocumentStructure is called
```VALA
public DocumentStructure get_structure ()
{
if (_structure == null)
{
_structure = new DocumentStructure (this);
_structure.parse ();
}
return _structure;
}
```
There is a parser for projects.
This diff is collapsed.
This diff is collapsed.