fix the site build, add new tutorial link

This commit is contained in:
Allen Webster 2016-12-28 00:05:56 -05:00
parent 7a29960c09
commit 5f00639970
4 changed files with 7 additions and 6 deletions

View File

@ -169,7 +169,7 @@ HOOK_SIG(my_view_adjust){
int32_t new_min_base_width = (int32_t)(new_wrap_width * .77f);
if (automatically_adjust_wrapping){
adjust_all_buffer_wrap_widths(app, new_wrap_width, new_min_base_width);
adjust_all_buffer_wrap_widths(app, new_wrap_width, new_min_base_width);
}
// no meaning for return
@ -383,6 +383,7 @@ default_keys(Bind_Helper *context){
bind(context, 's', MDFR_ALT, show_scrollbar);
bind(context, 'w', MDFR_ALT, hide_scrollbar);
// TODO(allen): This is apparently not working on Linux. Need to try it on windows still.
bind(context, key_f2, MDFR_CTRL, toggle_mouse);
bind(context, key_page_up, MDFR_CTRL, toggle_fullscreen);
bind(context, 'E', MDFR_ALT, exit_4coder);

View File

@ -7,14 +7,12 @@ SET OPTS=%OPTS% /GR- /EHa- /nologo /FC
SET FirstError=0
pushd ..\..\build
pushd ..\build
cl %OPTS% ..\code\build.cpp /Zi /Febuild /DSITE_BUILD
if %ERRORLEVEL% neq 0 (set FirstError=1)
popd
pushd ..
..\build\build
if %ERRORLEVEL% neq 0 (set FirstError=1)
popd
call "ctime" -end 4ed_site.ctm %FirstError%

View File

@ -3,8 +3,6 @@
WARNINGS="-Wno-write-strings"
FLAGS="-D_GNU_SOURCE -fPIC -fpermissive -DSITE_BUILD"
pushd ..
BASEDIR="$PWD"
g++ $WARNINGS $FLAGS $BASEDIR/build.cpp -g -o ../build/build
../build/build
popd

View File

@ -11,6 +11,10 @@ Setting up and navigating your project with 4coder:
\VIDEO{youtube:https://www.youtube.com/embed/glPEpaT6GH0}
Extending your project with a project file:
\VIDEO{youtube:https://www.youtube.com/embed/iZLtS3IoatE}
More tutorials coming soon.