This file is indexed.

/usr/include/paragui/pgmultilineedit.h is in libparagui1.1-dev 1.1.8-3.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef PG_MULTI_LINE_EDIT 
#define PG_MULTI_LINE_EDIT 

#include "pglineedit.h"
#include "pgscrollbar.h"
#include "pgtheme.h"
#include "pgstring.h"

class DECLSPEC PG_MultiLineEdit : public PG_LineEdit {
public:

	PG_MultiLineEdit(PG_Widget* parent, const PG_Rect& r, const char* style="LineEdit", int maximumLength = 1000000);
	virtual void SetText(const char* new_text);	

protected:

	void eventBlit(SDL_Surface* surface, const PG_Rect& src, const PG_Rect& dst);
	bool eventKeyDown(const SDL_KeyboardEvent* key);
	bool eventMouseButtonDown(const SDL_MouseButtonEvent* button);
	bool eventMouseMotion(const SDL_MouseMotionEvent* motion);
	bool eventMouseButtonUp(const SDL_MouseButtonEvent* button);
	virtual void InsertChar(const PG_Char* c);
	virtual void DeleteChar(Uint16 pos);
	bool handleScroll(PG_ScrollBar* widget, long data);

private:

    void FindWordRight();
    void FindWordLeft();
    void DeleteSelection();
    void GetCursorTextPosFromScreen(int x, int y, unsigned int& horzOffset, unsigned int& lineOffset);
    void GetCursorTextPos(unsigned int& horzOffset, unsigned int& lineOffset);
    void SetCursorTextPos(unsigned int offset, unsigned int line);
    int ConvertCursorPos(unsigned int offset, unsigned int line);
    void GetCursorPos(int& x, int& y);
    void SetCursorPos(int p);
    void DrawText(const PG_Rect& dst);
    void DrawTextCursor();
    void CreateTextVector(bool bSetupVScroll = true);
    void SetupVScroll();
    void SetVPosition(int line);
	std::vector<PG_String> my_textdata;
    PG_ScrollBar* my_vscroll;
    int my_firstLine;
    int my_mark;
    bool my_isCursorAtEOL;
    bool my_allowHiddenCursor;	
};

#endif